Click or drag to resize

PhysicsDirectBodyState Properties

The PhysicsDirectBodyState type exposes the following members.

Properties
  NameDescription
Public propertyAngularVelocity

The body's rotational velocity.

Public propertyCenterOfMass
Public propertyDynamicObject
Gets a new DynamicGodotObject associated with this instance.
(Inherited from Object.)
Public propertyInverseInertia

The inverse of the inertia of the body.

Public propertyInverseMass

The inverse of the mass of the body.

Public propertyLinearVelocity

The body's linear velocity.

Public propertyNativeInstance (Inherited from Object.)
Public propertyPrincipalInertiaAxes
Public propertySleeping

If true, this body is currently sleeping (not active).

Public propertyStep

The timestep (delta) used for the simulation.

Public propertyTotalAngularDamp

The rate at which the body stops rotating, if there are not any other forces moving it.

Public propertyTotalGravity

The total gravity vector being currently applied to this body.

Public propertyTotalLinearDamp

The rate at which the body stops moving, if there are not any other forces moving it.

Public propertyTransform

The body's transformation matrix.

Top
See Also