Skip to content

readPropPosition

readPropPosition(surface, position): Vector3

Defined in: packages/engine/src/gameplay/map/propPlacement.ts:12

Where a prop stands: an [x, z] on the ground under it, an [x, y, z] as written.

Parameter Type
surface GroundSurface
position readonly [number, number] | readonly [number, number, number]

Vector3