OdinRoom.setPosition

setPosition(offsetX: number, offsetY: number): void

Updates the two-dimensional position of our own OdinPeer in the room to apply server-side culling.

Parameters

NameTypeDescription
offsetXnumber
offsetYnumber

Returns

TypeDescription
void