Topic was automatically imported from the old Question2Answer platform.
Asked By
Linkpy
Old Version
Published before Godot 3 was released.
Hello !
I’m currently working on a rythme game, and I want to create “slider”, with is a long note in the game. And a slider is defined as a simple cubic bezier curve. So I use Polygon 2D for making the “slider background”. But…
So… Like you can see, the texture doesn’t snap to polygon points, giving a weird look to my slider.
Have you an advice, or do you know how to force UV texture to be “on” polygon points, and not like this ?
I had the same problem on my laser implementation with polygons: https://gfycat.com/DrearyMadeupBlobfish
You need to manually create the polygons on code to correct the uv, more about this here: