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

Room.SetPositionScale

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 SetPositionScale(float scale)

Configures the allowed 'view' distance for proximity calculation of peers in the room

Info

Make sure that all of your ODIN clients configure the same distance value.

Parameters

NameTypeDescription
scaleSinglePer default, the room will use a distance of 1.0 fo proximity calculation

Returns

TypeDescription
Booleantrue if set or false