Updates the position of the own peer in the room. You have to set the scale beforehand via Set Room Position Scale.
Name | Type | Description |
---|
Exec | exec | |
Room | object | The room in which the peer's position shall be set. |
Position | vector | The value of the position. |
On Error | delegate | Delegate to handle errors while updating the position. |
On Success | delegate | Called when the position has been successfully updated. |
Outputs
Name | Type | Description |
---|
Exec | exec | |
On Response | exec | Called when the server has returned its response. Use the 'success' value to check if the position has been successfully set. |
Success | boolean | true if the position has been successfully set. |