Skip to content

chaseHeroes

chaseHeroes(world): void

Defined in: packages/engine/src/gameplay/behaviours/systems.ts:197

Points each chaser’s velocity at the nearest hero, level with the ground so a bob on either side does not lift it, and stills it within reach or on a world without a hero. Then parts the chasers that overlap.

Parameter Type
world World

void