Struct PhysicsGravityFactor
Optional gravity factor applied to a rigid body during each simulation step. This scales the gravity vector supplied to the simulation step.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct PhysicsGravityFactor : IComponentData, IQueryTypeParameter
Fields
Value
The value.
Declaration
public float Value
Field Value
Type | Description |
---|---|
float |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter