I’ve been playing around with the very cool bezier toy that roccosaienz contributed to the forum.
I tried to implement similar functionality to the project I’m working on but failed. After a few hours of futzing with it, I discovered that the object must reside at 0,0 to work. Otherwise the curve is not drawn.
Here is a minimal example that works. Just run it. To see the problem, move the “root” GO (in the main.collection) and then run it again. Poof! The curve disappears.
So I think I can get the thing to work in my game, but I REALLY want to know why changing the GO’s position destroys the image.
If you change the model’s position slightly, by 1 pixel, the image deforms. So I suppose there’s some multiplicative effect based on the model’s location, but I’m otherwise in the dark.
Bezier example.zip (996.4 KB)