Hi.
I'm using Curvy for a 2d game, why not use something I know right?
One issue I'm having is that I can't stop my sprites from spinning when they reach an orientation change. Ideally I want no orientation, only direction.
Is this possible? I'd like my sprites to face the direction of the path in 2d space. Here are my settings (I've tried nearly every setting I can think of, but in the end sprites either spin at orientation changes or face the wrong axis if set to "orientation" (I could only get the sprites to face the 2d camera using "Tangent".
I'm generating the points in code using
I'm using Curvy for a 2d game, why not use something I know right?
One issue I'm having is that I can't stop my sprites from spinning when they reach an orientation change. Ideally I want no orientation, only direction.
Is this possible? I'd like my sprites to face the direction of the path in 2d space. Here are my settings (I've tried nearly every setting I can think of, but in the end sprites either spin at orientation changes or face the wrong axis if set to "orientation" (I could only get the sprites to face the 2d camera using "Tangent".
I'm generating the points in code using
Code:
spline.InsertBefore(null,(Vector2)plotter.position,false);
spline.Refresh();
www.hawkenking.com - interactive design & game development