unreal.RigUnit_HierarchySetPhysicsBodyGravityMultiplier

class unreal.RigUnit_HierarchySetPhysicsBodyGravityMultiplier(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, gravity_multiplier: float = 0.0)

Bases: RigUnit_PhysicsBaseMutable

Sets the multiplier on gravity that should be applied to the body.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • execute_pin (RigVMExecutePin): [Read-Write] * This property is used to chain multiple mutable units together

  • gravity_multiplier (float): [Read-Write]

  • physics_body_component_key (RigComponentKey): [Read-Write]

property gravity_multiplier: float

[Read-Write]

Type:

(float)

property physics_body_component_key: RigComponentKey

[Read-Write]

Type:

(RigComponentKey)