Struct PhysicsVelocityDefaultVariant
Default serialization variant for the PhysicsVelocity. Necessary to synchronize physics
Syntax
[GhostComponentVariation(typeof(PhysicsVelocity))]
[GhostComponent(PrefabType = GhostPrefabType.All, OwnerPredictedSendType = GhostSendType.Predicted, SendDataForChildEntity = false)]
public struct PhysicsVelocityDefaultVariant
Fields
Angular
Declaration
[GhostField(Quantization = 1000)]
public float3 Angular
Field Value
Linear
Declaration
[GhostField(Quantization = 1000)]
public float3 Linear
Field Value