Class SnappyLocomotion
Inheritance
SnappyLocomotion
Syntax
[RequireComponent(typeof(Kinematica))]
public class SnappyLocomotion : SnapshotProvider, Serializable
Fields
snapRotationFactor
Declaration
[Tooltip("How much character rotation should match desired trajectory as opposed to the binary.")]
[Range(0F, 1F)]
public float snapRotationFactor
Field Value
snapTranslationFactor
Declaration
[Tooltip("How much character translation should match desired trajectory as opposed to the binary.")]
[Range(0F, 1F)]
public float snapTranslationFactor
Field Value
Methods
OnAnimatorMove()
Declaration
public virtual void OnAnimatorMove()
OnDisable()
Declaration
public override void OnDisable()
Overrides
OnEarlyUpdate(Boolean)
Declaration
public override void OnEarlyUpdate(bool rewind)
Parameters
| Type |
Name |
Description |
| Boolean |
rewind |
|
Overrides
OnEnable()
Declaration
public override void OnEnable()
Overrides