- Home /
Question by
MomkeyDev · Apr 06 at 05:40 AM ·
texturematerialrendererlinerenderer
Issue with close point in line renderer
The Image above is what happened between close point in line renderer. I am trying to make a snake like effect using line renderer but when the line gets close the line become pinched. Is there a way to fix this ?
screenshot-2022-04-06-133602.png
(9.7 kB)
Comment
is it an option to merge these points or is it crucial that all original points are preserved?
@Captain_Pineapple It is crucial that all original points stay the same since i need them to represent the hitbox correctly. But, if there's any other method you recommend then I'll just use that
Answer by MomkeyDev · 5 days ago
This is an old question but here's how i was able to get it to work. Basically what i did is just ditch the line renderer and use a capsule sprite that rotate to the closest points.