Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to reset camera at beginning of Spline
#1
I have a camera that starts down a short path and I need it to restart at the beginning of the spline when it reaches the end, not loop, but just restart and stay at the beginning until my on mouseĀ event launches the camera again
Reply
#2
You can register to the OnEndReached event or - in case the spline is closed - OnControlPointReached and check e.ControlPoint.IsFirst/IsLast property to find the relevant CP.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Generate Mesh Spline from GameObject processor 4 147 10-01-2020, 11:00 AM
Last Post: _Aka_
  Generated mesh using bezier spline is not following the path accurately processor 3 265 08-25-2020, 04:39 PM
Last Post: _Aka_
  Best practice when Instantiating game object with spline GenericJoe 1 215 08-22-2020, 02:40 PM
Last Post: _Aka_
  How to calculate curvature of spline jh092 3 351 08-01-2020, 04:51 PM
Last Post: _Aka_

Forum Jump: