CharacterState3D class final

A character after a step. A world refills one it is given.

Constructors

CharacterState3D()
A character in the air at the origin.

Properties

contactCount ↔ int
How many contacts it has.
getter/setter pair
groundBody ↔ int
The body it stands on, or 0.
getter/setter pair
groundNormal → Vector3
The ground's normal (pointing up, out of the ground).
final
groundPosition → Vector3
Where it touches the ground.
final
groundState ↔ GroundState3D
What it stands on.
getter/setter pair
groundVelocity → Vector3
How fast the ground under it moves (a platform).
final
hashCode → int
The hash code for this object.
no setterinherited
isGrounded → bool
Whether it stands on walkable ground.
no setter
position → Vector3
Where its feet are.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
velocity → Vector3
How fast it moved.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited