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
  Accessing generator's input spline in script, changing it at runtime smackledorf 3 105 06-17-2021, 01:59 PM
Last Post: _Aka_
  Questions about Generator: mesh/objects within spline, snap to control point dartboard 5 197 06-09-2021, 12:42 PM
Last Post: _Aka_
  get world vector3 from absolute position on spline hawken 2 94 06-08-2021, 12:28 PM
Last Post: hawken
Shocked Change spline path at runtime burn0815 7 391 05-27-2021, 08:27 PM
Last Post: _Aka_

Forum Jump: