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 1 1 11 hours ago
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 11 hours ago
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: