unreal.RigUnit_HierarchySetPhysicsBodyDamping¶
- class unreal.RigUnit_HierarchySetPhysicsBodyDamping(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, linear_damping: float = 0.0, angular_damping: float = 0.0)¶
Bases:
RigUnit_PhysicsBaseMutableSets the linear and angular damping on the body. This will reduce the velocity, to make the body start tracking the simulation space. Note: Although damping is currently stored on Dynamics, the solver re-reads it each step, so this can be modified after physics instantiation.
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsBodyExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
angular_damping(float): [Read-Write] The desired angular dampingexecute_pin(RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units togetherlinear_damping(float): [Read-Write] The desired linear dampingphysics_body_component_key(RigComponentKey): [Read-Write] The Physics Body to be updated
- property physics_body_component_key: RigComponentKey¶
[Read-Write] The Physics Body to be updated
- Type: