Struct RigidBodyAspect
A rigid body aspect. Contatins transform data, mass, mass overide, velocity, damping and gravity factor information.
Inherited Members
Namespace: Unity.Physics.Aspects
Assembly: solution.dll
Syntax
public readonly struct RigidBodyAspect : IAspect, IQueryTypeParameter
Fields
Name | Description |
---|---|
Entity | The entity of this aspect. |
Properties
Name | Description |
---|---|
AngularDamping | Gets or sets the angular damping. |
AngularVelocityLocalSpace | Gets or sets the angular velocity in local space. |
AngularVelocityWorldSpace | Gets or sets the angular velocity in world space. |
CenterOfMassLocalSpace | Gets or sets the center of mass in local space. |
CenterOfMassWorldSpace | Gets or sets the center of mass in world space. |
GravityFactor | Gets or sets the gravity factor. |
Inertia | Gets or sets the inertia. |
IsKinematic | Gets or sets a value indicating whether this object is kinematic. |
LinearDamping | Gets or sets the linear damping. |
LinearVelocity | Gets or sets the linear velocity. |
Mass | Gets or sets the mass. |
Position | Gets or sets the world space position. |
Rotation | Gets or sets the world space rotation. |
Scale | Gets or sets the uniform scale. |
WorldFromBody | Gets or sets the world transform of this aspect. |