04-16-2024, 02:31 PM
Unfortunately not: the half circle was just an example to illustrate the issue, not that I needed a half circle explicitly for my usecase. In my game, all pieces are made of 2 control points, which can be moved by the player at runtime.
I just created another example scene that shows a more realistic use case: a straight piece (shown in green) placed right after a "S-Curve" piece (shown in red):
As you can see, there's a gap at the bottom (and an overlap at the top)
I'm attaching the scene to this post, in case you need it. Try moving the leftmost control point up & down (well, Z axis in the provided scene) to see the issue. No issue at all with 2 straight pieces, of course
Then again, the problem disappears when using cache with a very high density, as discussed before. Or maybe the gap becomes so small that it's no longer noticeable, I don't know '^^
I just created another example scene that shows a more realistic use case: a straight piece (shown in green) placed right after a "S-Curve" piece (shown in red):
As you can see, there's a gap at the bottom (and an overlap at the top)
I'm attaching the scene to this post, in case you need it. Try moving the leftmost control point up & down (well, Z axis in the provided scene) to see the issue. No issue at all with 2 straight pieces, of course

Then again, the problem disappears when using cache with a very high density, as discussed before. Or maybe the gap becomes so small that it's no longer noticeable, I don't know '^^

