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
  Change Spline Extrusion material at runtime? linkinballzpokemon 0 2 2 hours ago
Last Post: linkinballzpokemon
  Question regarding Spline Generated Path linkinballzpokemon 9 277 07-01-2020, 06:10 PM
Last Post: _Aka_
  Converting spline collider hit point to spline position jh092 7 206 06-26-2020, 09:48 PM
Last Post: _Aka_
  Null reference when spline controller added runtime jh092 1 115 06-19-2020, 09:21 AM
Last Post: _Aka_

Forum Jump: