PhysicsActor
Defined in: packages/engine/src/gameplay/physics/traits.ts:79
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
body |
object |
The body the capsule was cut for, copied again each time the entity’s Body is set or added, so the step reads no koota record. |
body.climb |
number |
The steepest ground in degrees it climbs and stands on: on anything steeper it slides down. |
body.collides |
readonly CollisionLayer[] |
The layers its sweeps and contacts test against: every one unless a game narrows it. A chaser’s default leaves out the players and the other walkers; a game lists Players again for a body that blocks her. |
body.height |
number |
Metres above the feet the head stands. |
body.radius |
number |
Metres from the axis to the side. |
body.step |
number |
Metres a surface may stand above or below the feet and still be stood on, kerb or wall. |
collider |
Collider |
- |
motion |
ActorMotion |
- |
rigidBody |
RigidBody |
- |