Field UseQuaternionCompression
Enabled this on the authority side for quaternion compression
Namespace: Unity.Netcode.Components
Assembly: solution.dll
Syntax
[Tooltip("When enabled, this uses a smallest three implementation that reduces full Quaternion updates down to the size of an unsigned integer (ignores half float precision settings).")]
public bool UseQuaternionCompression
Returns
Type | Description |
---|---|
bool |
Remarks
This has a lower precision than half float precision. Recommended only for low precision scenarios. UseHalfFloatPrecision provides better precision at roughly half the cost of a full quaternion update. This is synchronized by authority. During runtime, this should only be changed by the authoritative side. Non-authoritative instances will be overridden by the next authoritative state update.