findTrackRider
findTrackRider(
riders,track):Entity|undefined
Defined in: packages/engine/src/gameplay/camera/trackCamera.ts:66
Among riders, the entities riding a track that are drawn, the one
riding track: the player’s own where several are, as the chase camera
follows her hero.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
riders |
readonly Entity[] |
track |
Track |
Returns
Section titled “Returns”Entity | undefined