NetworkTransform
The NetworkTransform
component is a NetworkBehaviour
designed to synchronize the position, rotation and scale of a GameObject with other users in the multiplayer session. The ‘owner’ of this component is responsible for monitoring their local values which, if changed, will be sent over the network.
Parameter | Description |
---|---|
Position | Which axes of the transform’s position should be synchronized |
Rotation | Which axes of the transform’s rotation should be synchronized |
Scale | Which axes of the transform’s scale should be synchronized |
Use Local Values | If the component should send values local to it’s parent instead of global values |
Threshold | How much change in distance/angle/scale is required before an update is required |
If you are familiar with previous versions of the SDK, this component serves the same purpose as theTransformSync
.