Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Don't Look down the spline
#1
Hi,
I'd like to have a controller that doesn't look down the spline its following, instead always faces its original forward direction in the xz plane, but still be effected by the splines Direction modifiers on its upwards axis. 
What would be the best place to do this modification?

Thanks
Haptic
Reply
#2
See here and here.

The easiest way is to override ApplyTransformRotation() and apply your custom rotation there.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 7 1,258 07-13-2025, 07:11 PM
Last Post: _Aka_
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 250 06-07-2025, 09:44 AM
Last Post: _Aka_
  Filling a closed spline dynamically rickgplus 1 458 04-16-2025, 08:56 AM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 420 02-03-2025, 09:34 AM
Last Post: _Aka_

Forum Jump: