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
  Programming a first-person player/camera to follow a Curvy Spline kenmarold 1 2 05-21-2023, 05:03 PM
Last Post: _Aka_
  Odd behavior when drawing spline ricke 11 28 05-15-2023, 12:28 PM
Last Post: _Aka_
  When is it required to check if the spline / generator as initialized? Lupos 1 1 05-15-2023, 12:04 PM
Last Post: _Aka_
  Can Curve Spline be used for an in game level editor. Lupos 29 50 05-12-2023, 02:15 AM
Last Post: Lupos

Forum Jump: