Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stack Overflow
#11
The difference between MoveBy() and MoveByConnection() is that the latter follows connections if it found matching tags. You should be fine using just MoveBy() and have your splines in a splinegroup that the runner uses (like in the EndlessRunner example). If you're unable to find a suitable spline when the player reaches the end of it's current spline (or splinegroup), check the way you assign/choose the new spline. Perhaps there is a problem with Collider setup and/or spline picking.
Reply
#12
(01-13-2014, 11:08 AM)'Jake' Wrote: The difference between MoveBy() and MoveByConnection() is that the latter follows connections if it found matching tags. You should be fine using just MoveBy() and have your splines in a splinegroup that the runner uses (like in the EndlessRunner example). If you're unable to find a suitable spline when the player reaches the end of it's current spline (or splinegroup), check the way you assign/choose the new spline. Perhaps there is a problem with Collider setup and/or spline picking.

 

There's indeed a problem with finding splines, i've tested MoveBy() and player runs two splines then stops and doesn't find any new spline.
Don't know why.
I'll have a look at colliders.

 
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Stack overflow when editing prefab containing splines rhys_vdw 5 24 04-10-2023, 10:17 PM
Last Post: _Aka_

Forum Jump: