Legacy Documentation: Version 5.6 (Go to current version)
NetworkTransform
NetworkTransformVisualizer
Other Versions

NetworkTransformChild

The NetworkTransformChild component synchronizes the position and rotation of a child object of an object with a NetworkTransform component. The NetworkTransformChild component should be placed on the same root object as the NetworkTransform, and then the target slot populated with a child object from the heirarchy.

This class does not use physics, it simply synchronizes the position and rotation of the child and lerps towards updated values to at a customizable rate.

Properties

Property: Function:
sendInterval How often in seconds the object sends updates.
target child transform to be synchronized.
childIndex A unique Identifier for this NetworkTransformChild component on this root object (read only).
syncRotationAxis Which axis to use for rotation.
rotationSyncCompression What kind of compression to use for rotation.
movementTheshold The threshold to not send position updates.
snapThreshold The threshold to “pop” instead of interpolate.
interpolateRotation Factor to control rotation interpolation.
interpolateMovement Factor to control movement interpolation.
NetworkTransform
NetworkTransformVisualizer
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961