This feature requires the Immerse SDK Enterprise Edition
This is different to the free Immerse SDK. Contact [email protected] if you require access.
As its name suggests, the TransformSync component is used for synchronising Transforms in an Immerse Session, so that all connected users see objects and other users located in the same place (and orientated in the same direction).
Transform Syncs work by allowing one client to send the current state of an object, which is then reflected in the views of other users. The user sending these messages is known as the authoritative user.
It is important to take authority of a Transform Sync when you want the local user to control it (e.g. when they pick up an object). Having the object locally simulated, while the user interacts with it, provides a much better experience as there is no latency.
Authority can be taken by calling TakeAuthority on the Transform Sync component. This method can be also be called using events, making it easy to integrate with existing VR interaction libraries.
The unique ID for the TransformSync. This is generated by the Scene component in which it is indexed.
Current owner of the TransformSync component.
Returns true if the local user has authority for the TransformSync.
The interval in which update messages should be sent.
Returns the attached Rigidbody component if one is present.
An enum flag that specifies which properties should be synchronized.
Default kinematic status for the attached Rigidbody (if present).
Call this method for the local user to take authority for the TransformSync.
This can be used to send an update immediately. This method takes an optional
If this method is called and the local user does not have authority and
Returns true if the provided property is to be synced by the TransformSync.
Updated 10 months ago