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
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 154 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 551 01-20-2025, 12:25 PM
Last Post: _Aka_
  Extrude mesh along spline. New and confused user GhostStalker 3 240 01-02-2025, 09:58 AM
Last Post: _Aka_
  Newly created spline is invisible quickytools 7 554 12-21-2024, 10:14 AM
Last Post: _Aka_

Forum Jump: