Struct GhostRigidbodyDataMaxPrecision
Variant of GhostRigidbodyData that replicates the values unquantized.
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
[GhostComponentVariation(typeof(GhostRigidbodyData), "GameObject Rigidbody - Unquantized", false)]
public struct GhostRigidbodyDataMaxPrecision
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 |