unreal.RigPhysicsDynamics

class unreal.RigPhysicsDynamics

Bases: StructBase

Properties of a body affecting its dynamics (movement without regard to collision).

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_damping (float): [Read-Write]

  • centre_of_mass_nudge (Vector): [Read-Write] Offset the centre of mass from the calculated (or overridden) position.

  • centre_of_mass_override (Vector): [Read-Write]

  • density (float): [Read-Write] Density - units g per cm^3 so this defaults to “water”

  • linear_damping (float): [Read-Write]

  • mass_override (float): [Read-Write] The total mass of this body - will override density if positive

  • moments_of_inertia_override (Vector): [Read-Write]

  • override_centre_of_mass (bool): [Read-Write] Use this to specify the location of the centre of mass

  • override_moments_of_inertia (bool): [Read-Write] Use this to specify the moments of inertia