Struct PhysicsDamping
Optional damping applied to the rigid body velocities during each simulation step. This scales the velocities using: math.clamp(1 - damping * Timestep, 0, 1)
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct PhysicsDamping : IComponentData, IQueryTypeParameter
Fields
Angular
Damping applied to the angular velocity.
Declaration
public float Angular
Field Value
Type | Description |
---|---|
float |
Linear
Damping applied to the linear velocity.
Declaration
public float Linear
Field Value
Type | Description |
---|---|
float |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter