Class OrientToPathMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Transforms
Orients the object to the path its taken using the Quaternion.LookRotation(Vector3) method.
public class OrientToPathMotion : AbstractTweenMotion<Transform>, ITweenMotion, IMotion
- Inheritance
-
AbstractTweenMotion<Transform>OrientToPathMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
OrientToPathMotion(Transform)
public OrientToPathMotion(Transform item)
Parameters
item
Transform
Methods
OnStart()
public override void OnStart()
OnUpdate(float)
public override void OnUpdate(float t)
Parameters
t
float