Next: , Previous: , Up: Network   [Contents][Index]


13.11 Photon Position Sync

Component: PhotonPositionSync

NIL

Field of PhotonPositionSync: InterPositionMode syncMode

Should we use a simple transform interpolation, which takes fewer resources but is less accurate, or should we extrapolate rigidbody motion for a more crisp experience at the cost of additional CPU and network traffic?

Default value: InterPositionMode.InterpolateTransformation

Field of PhotonPositionSync: float interpolationBias

Multiplied by the time delta to adjust smoothness. Smaller numbers are more accurate but look more laggy.

Default value: 5.0f

Field of PhotonPositionSync: double m_InterpolationBackTime

How far back in time are we trying to be in seconds?

Default value: 0.1

Field of PhotonPositionSync: double m_ExtrapolationLimit

How far forward in time are we trying to extrapolate? Only works with rigidbody extrapolation (expensive).

Default value: 0.5

Available Messages

Message on PhotonPositionSync: Activate ()

Causes this object to sync it’s position across the network

Message on PhotonPositionSync: Deactivate ()

Causes this object to stop syncing it’s position across the network

Field of PhotonPositionSync: InterPositionMode syncMode

Should we use a simple transform interpolation, which takes fewer resources but is less accurate, or should we extrapolate rigidbody motion for a more crisp experience at the cost of additional CPU and network traffic?

Default value: InterPositionMode.InterpolateTransformation

Field of PhotonPositionSync: float interpolationBias

Multiplied by the time delta to adjust smoothness. Smaller numbers are more accurate but look more laggy.

Default value: 5.0f

Field of PhotonPositionSync: double m_InterpolationBackTime

How far back in time are we trying to be in seconds?

Default value: 0.1

Field of PhotonPositionSync: double m_ExtrapolationLimit

How far forward in time are we trying to extrapolate? Only works with rigidbody extrapolation (expensive).

Default value: 0.5

Available Messages

Message on PhotonPositionSync: Activate ()

Causes this object to sync it’s position across the network

Message on PhotonPositionSync: Deactivate ()

Causes this object to stop syncing it’s position across the network


Next: , Previous: , Up: Network   [Contents][Index]