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)
Inherited Members
Namespace: Unity.Physics
Syntax
public struct PhysicsDamping : IComponentData, IQueryTypeParameter
Fields
Angular
Damping applied to the angular velocity.
Declaration
public float Angular
Field Value
Type | Description |
---|---|
Single |
Linear
Damping applied to the linear velocity.
Declaration
public float Linear
Field Value
Type | Description |
---|---|
Single |