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
Assembly: solution.dll
Syntax
public struct PhysicsDamping : IComponentData, IQueryTypeParameter
Fields
Name | Description |
---|---|
Angular | Damping applied to the angular velocity. |
Linear | Damping applied to the linear velocity. |