Struct GhostRigidbodyDataMediumPrecision
Variant of GhostRigidbodyData that replicates the values quantized to 0.1 mm precision.
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
[GhostComponentVariation(typeof(GhostRigidbodyData), "GameObject Rigidbody - 0.1 mm Precision", false)]
public struct GhostRigidbodyDataMediumPrecision
Fields
AngularVelocity
The angular velocity of the rigidbody.
Declaration
public float3 AngularVelocity
Field Value
| Type | Description |
|---|---|
| float3 |
IsKinematic
Whether the rigidbody is kinematic.
Declaration
public bool IsKinematic
Field Value
| Type | Description |
|---|---|
| bool |
IsSleeping
Whether the rigidbody is sleeping.
Declaration
public bool IsSleeping
Field Value
| Type | Description |
|---|---|
| bool |
LinearVelocity
The linear velocity of the rigidbody.
Declaration
public float3 LinearVelocity
Field Value
| Type | Description |
|---|---|
| float3 |
WakeCounter
The time remaining before the rigidbody falls asleep.
Declaration
public float WakeCounter
Field Value
| Type | Description |
|---|---|
| float |