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
  Spline events not working in IL2CPP build (Android) callen_mrez 4 19 Yesterday, 05:45 PM
Last Post: _Aka_
  Spawning object with correct rotation at spline end arrnav96 2 28 05-21-2019, 02:19 PM
Last Post: arrnav96
  Spline Controller restart FlebusCroqus 2 29 05-16-2019, 07:35 PM
Last Post: FlebusCroqus
  Spline Controller Position Force Update ? UsernameHed 1 40 05-16-2019, 12:20 PM
Last Post: _Aka_

Forum Jump: