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
  Rotation of Curvy Spline Segment jh092 1 11 05-31-2020, 09:36 AM
Last Post: _Aka_
  How to create exactly N gameobjects at spline? ThomasTheTank 1 46 05-24-2020, 01:56 PM
Last Post: _Aka_
  Connection survives spline duplication rmrmrm 7 225 05-22-2020, 01:28 PM
Last Post: _Aka_
  Simple Spline Extrusion GelsonBieber 1 110 05-08-2020, 01:47 PM
Last Post: _Aka_

Forum Jump: