Skip to content

five-on-it / packages/net-client/src/mirror / NEAR_MARGIN

Variable: NEAR_MARGIN ​

const NEAR_MARGIN: 9 = 9

Defined in: packages/net-client/src/mirror.ts:130

A twin whose centre is within this many metres of the controlled entity's, plus what both cover at their speeds over the prediction horizon, is simulated in full: the longest bodies (a bus, a semi) reach about 6 m from their centre, a car 2.5 m.