Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving character along a spline but not exactly on top of it
#1
Hi,
I am trying to move my character along a spline but not exactly on top of it as it is currently being done in the follow spline script. Basically I want to move the character lets say 1f (offset) to the left of the spline. Is this possible?

Regards,
Siloni
 
Reply
#2
(02-05-2015, 06:08 PM)'silonighora' Wrote: Hi,
I am trying to move my character along a spline but not exactly on top of it as it is currently being done in the follow spline script. Basically I want to move the character lets say 1f (offset) to the left of the spline. Is this possible?

Regards,
Siloni
 

 

Hi Siloni,

Just make an empty object that follows the spline, and place your character as a child of that empty object. Then you can change the position of the child object as you like. In your case, -1 in the X value.

 
Reply
#3
Thanks Socoman3. You were of great help Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: