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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
Returns
Section titled “Returns”void