unreal.RigUnit_HierarchySetPhysicsBodySparseData¶
- class unreal.RigUnit_HierarchySetPhysicsBodySparseData(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, data: PhysicsControlModifierSparseData = Ellipsis)¶
Bases:
RigUnit_PhysicsBaseMutableSets all the data on a body - but in a sparse way so you can decide which parameters get applied. Note that the sparse data does not get displayed correctly (the flags that enable/disable all end up getting reset if the user attempts to change them) so this should be used with caution until this is fixed.
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsBodyExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
data(PhysicsControlModifierSparseData): [Read-Write] Sparse data to be set on the Physics Bodyexecute_pin(RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units togetherphysics_body_component_key(RigComponentKey): [Read-Write] The Physics Body to be updated
- property data: PhysicsControlModifierSparseData¶
[Read-Write] Sparse data to be set on the Physics Body
- Type:
- property physics_body_component_key: RigComponentKey¶
[Read-Write] The Physics Body to be updated
- Type: