Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2d splines and sprites
#1
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 
Code:
spline.InsertBefore(null,(Vector2)plotter.position,false);

spline.Refresh();
   
           
www.hawkenking.com - interactive design & game development
Reply


Messages In This Thread
2d splines and sprites - by hawken - 06-07-2021, 03:34 PM
RE: 2d splines and sprites - by _Aka_ - 06-07-2021, 04:33 PM
RE: 2d splines and sprites - by hawken - 06-07-2021, 04:39 PM
RE: 2d splines and sprites - by _Aka_ - 06-07-2021, 07:35 PM
RE: 2d splines and sprites - by hawken - 06-09-2021, 07:47 AM
RE: 2d splines and sprites - by _Aka_ - 06-09-2021, 12:14 PM
RE: 2d splines and sprites - by hawken - 06-09-2021, 03:58 PM
RE: 2d splines and sprites - by _Aka_ - 06-10-2021, 10:15 AM
RE: 2d splines and sprites - by _Aka_ - 07-07-2021, 01:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New User Looking for Advice on Choosing Curvy Splines ravigupta 1 164 08-21-2026, 09:45 PM
Last Post: _Aka_
  Connections Between Opposing Splines lockiidraws 1 913 12-04-2025, 02:14 PM
Last Post: _Aka_
  Spawn at start/ end of splines rickgplus 4 3,397 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 2,126 03-18-2025, 10:11 PM
Last Post: _Aka_

Forum Jump: