Skip to content

ObstacleBody

Defined in: packages/engine/src/maths/solids.ts:15

The body the bake is cut for and the navmesh is walked by.

Property Type Description
height number Metres above the feet the head stands. The capsule’s crown sits here: its segment ends a radius lower, so an overhang she clears is not hit.
radius number Metres from the body’s axis to its side.
step number Metres a surface may stand above or below the feet and still be stood on, kerb or wall.