MoveCharacterResult
What one moveCharacter call did: read-only scratch the character owns,
overwritten by her next call, so read what you need before it. What
carries to the next tick is in CharacterTrait and VelocityTrait.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
displacement |
Vector3 |
Metres she moved this tick. |
floorNormal |
Vector3 |
- |
hits |
MoverHit[] |
What the move met, at most six. |
isGrounded |
boolean |
Whether the move ended on a floor within her steepest slope. |
isHeadBlocked |
boolean |
Whether a lowered height could not stand back up yet. |
isOnCeiling |
boolean |
- |
isOnWall |
boolean |
- |
realVelocity |
Vector3 |
The displacement over the tick, as Godot’s get_real_velocity. |
standingOn |
Entity | null |
The entity under her: a lift, a conveyor, another character; null over a terrain or with no floor. |
wallNormal |
Vector3 |
- |
wasLanded |
boolean |
True on the move that touched down. |