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
  Curvy Line Renderer for UI Spline? gekido 1 1 Yesterday, 10:12 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 Yesterday, 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_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: