Developer Documentation
Our new developer documentation is now available. Please check it out!

Room.UpdatePosition

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

public bool UpdatePosition(float x, float y)

Updates the two-dimensional position of our own peer in the room

Info

This should only be used after configuring the room with RoomSetPositionScale(RoomHandle%2cSystem.

Parameters

NameTypeDescription
xSinglex postition
ySingley postition

Returns

TypeDescription
Booleantrue if set or false