Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SplineController questions
#2
Hi,

1.) First set Speed to 0, then to a negative value. It will get positive, but direction flips.
2.) Need t check if that happens for the train example scenes as well. After all they're just a quick mockup of what can be done with custom controllers. Right now I've got no idea what can cause a offset in this place.
3.) Each SplineController has an OnControlPointReached event you can hook into. So let each Controller switch the spline individually.

Using above event you could write a "track segment" manager or such. Each time a Controller moves onto the track, it registers there. When leaving, it removes itself from the list. This way you'll know which track is busy and which not.
Reply


Messages In This Thread
SplineController questions - by PETzz - 07-29-2017, 10:21 PM
RE: SplineController questions - by Jake - 08-16-2017, 06:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Play() does not cause SplineController to produce expected behaviour ConCat 8 1,361 02-08-2026, 11:54 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,464 07-29-2025, 09:15 PM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 4,422 01-20-2025, 12:25 PM
Last Post: _Aka_
  Questions before buying erk13 3 2,576 05-15-2024, 10:38 PM
Last Post: _Aka_

Forum Jump: