Struct PhysicsVelocity
The velocity of a rigid body. If absent, the rigid body is static.
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct PhysicsVelocity : IComponentData, IQueryTypeParameter
Fields
Name | Description |
---|---|
Angular | The body's angular velocity in radians per second about each principal axis specified by Transform
. In order to get or set world-space values, use Get |
Linear | The body's world-space linear velocity in units per second. |
Zero | Zero Physics Velocity. All fields are initialized to zero. |
Methods
Name | Description |
---|---|
Calculate |
Create a Physics |