Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with dynamically moving a sprite along a curve
#1
Hello guys. I am having a scene with a 2d sprite where i am creating dynamically a CatmulRom curve.Everything is just fine except the sprite orientation.So when i start creating the curve from the front side of the sprite where the sprite up vector is, it moves and orients just as it suppose to, but when i start creating the curve from the other side the sprite moves just fine, but comes out flipped in the opposite direction of the curve's tangents.I am moving and rotating on the same principle exposed in SpriteWalkerDistance.I am using as i said a CatmulRom curve with Orientation set to tangents, No CP rotation, Initial Up Vector - Control points.Can you help me understand what is happening?Thank you in advance
 

 
Reply


Messages In This Thread
Problem with dynamically moving a sprite along a curve - by sysameca - 04-07-2014, 01:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do join 3 splines && Orientation problem athos_k 3 265 07-09-2020, 10:41 AM
Last Post: _Aka_
  bezier curve on first and last points Anthonyk 0 335 03-18-2020, 03:54 PM
Last Post: Anthonyk
  Add Template problem in the Generator with Input Spline Shape prefab ATHellboy 1 579 03-13-2020, 11:27 PM
Last Post: _Aka_
  Moving multiple controllers at once Lupp_ 23 4,718 02-10-2020, 11:19 PM
Last Post: _Aka_

Forum Jump: