unreal.RigUnit_HierarchyImportDynamicsCollidersFromPhysicsAsset¶
- class unreal.RigUnit_HierarchyImportDynamicsCollidersFromPhysicsAsset(execute_pin: RigVMExecutePin = [], dynamics_solver_component_key: RigComponentKey = Ellipsis, collider_component_name: Name = 'None', physics_asset: PhysicsAsset = Ellipsis, bone_mask: None = [], dynamics_collider_component_keys: None = [])¶
Bases:
RigUnit_DynamicsBaseMutableImports collision from a physics asset and assigns it as colliders in the dynamics system
C++ Source:
Plugin: ControlRigDynamics
Module: ControlRigDynamics
File: RigDynamicsExecutionHelpers.h
Editor Properties: (see get_editor_property/set_editor_property)
bone_mask(Array[Name]): [Read-Write] If this is empty, then all bones with bodies in the physics asset will be created. Otherwise only bodies that relate to the specified bones will be created.collider_component_name(Name): [Read-Write] The name to give each collider component created by this node. The same base name is used for every imported body, so the hierarchy will append unique suffixes whenever a clash occurs. DynamicsColliderComponentKeys is the authoritative list of actual names.dynamics_collider_component_keys(Array[RigComponentKey]): [Read-Write] The dynamics collider component keys that were createddynamics_solver_component_key(RigComponentKey): [Read-Write] Solver to add the colliders toexecute_pin(RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units togetherphysics_asset(PhysicsAsset): [Read-Write] The physics asset to import colliders from
- property bone_mask: None¶
[Read-Write] If this is empty, then all bones with bodies in the physics asset will be created. Otherwise only bodies that relate to the specified bones will be created.
- property collider_component_name: Name¶
[Read-Write] The name to give each collider component created by this node. The same base name is used for every imported body, so the hierarchy will append unique suffixes whenever a clash occurs. DynamicsColliderComponentKeys is the authoritative list of actual names.
- Type:
(Name)
- property dynamics_collider_component_keys: None¶
[Read-Only] The dynamics collider component keys that were created
- Type:
- property dynamics_solver_component_key: RigComponentKey¶
[Read-Write] Solver to add the colliders to
- Type:
- property physics_asset: PhysicsAsset¶
[Read-Write] The physics asset to import colliders from
- Type: