Skip to content

ChaseProps

Defined in: packages/engine/src/components/behaviours.tsx:106

The body fields are the walker’s: the physics cuts its capsule to them and climbs and slides by them, from the next step after a change. A radius or height left out is the entity’s kit model’s, or the hero’s where the kit has none by its name. Unless collides names its layers, a chaser collides with every layer but the walkers and the players.

Property Type Default value Description
climb? number 50 The steepest ground in degrees it climbs and stands on: on anything steeper it slides down.
collides? readonly CollisionLayer[] every layer 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.
height? number its model's Metres above the feet the head stands.
radius? number its model's Metres from the axis to the side.
reach? number 1 Metres from her it stops at.
speed number undefined Metres a second toward the nearest hero.
step? number 0.6 Metres a surface may stand above or below the feet and still be stood on, kerb or wall.