Struct CharacterMotion
What a character is doing this frame, as its body is animated from it.
public struct CharacterMotion
- Inherited Members
Fields
Climbing
On a ladder or a rope.
public bool Climbing
Field Value
Crouching
Crouched.
public bool Crouching
Field Value
Grounded
On walkable ground.
public bool Grounded
Field Value
StillWater
The still water's surface over it while swimming (world metres), or NaN to have the body look it up.
public float StillWater
Field Value
Swimming
In the water, floating or diving.
public bool Swimming
Field Value
Velocity
How far it really went this frame over the frame's length (not how fast it was asked to go).
public Vector3 Velocity
Field Value
- Vector3