unreal.RigUnit_AddPhysicsComponents¶
- class unreal.RigUnit_AddPhysicsComponents(execute_pin: RigVMExecutePin = [], owner: RigElementKey = Ellipsis, add_joint: bool = False, add_sim_space_control: bool = False, add_parent_space_control: bool = False, physics_body_component_key: RigComponentKey = Ellipsis, physics_joint_component_key: RigComponentKey = Ellipsis, sim_space_control_component_key: RigComponentKey = Ellipsis, parent_space_control_component_key: RigComponentKey = Ellipsis, solver: RigPhysicsBodySolverSettings = [], dynamics: RigPhysicsDynamics = [], collision: RigPhysicsCollision = [], body_data: PhysicsControlModifierData = Ellipsis, joint_data: RigPhysicsJointData = [], drive_data: RigPhysicsDriveData = [], sim_space_control_data: PhysicsControlData = Ellipsis, parent_space_control_data: PhysicsControlData = Ellipsis)¶
Bases:
RigUnit_PhysicsBaseMutableAdds a set of physics components including the body, joint and controls
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
add_joint(bool): [Read-Write]add_parent_space_control(bool): [Read-Write]add_sim_space_control(bool): [Read-Write]body_data(PhysicsControlModifierData): [Read-Write] The runtime modifiable data of the new physics bodycollision(RigPhysicsCollision): [Read-Write] The collision properties of the new physics bodydrive_data(RigPhysicsDriveData): [Read-Write] Optional motor/drive associated with the physics jointdynamics(RigPhysicsDynamics): [Read-Write] The dynamics properties of the new physics bodyexecute_pin(RigVMExecutePin): [Read-Write] * This property is used to chain multiple mutable units togetherjoint_data(RigPhysicsJointData): [Read-Write] The properties of the jointowner(RigElementKey): [Read-Write] The owner of the newly created component (must be set/valid)parent_space_control_component_key(RigComponentKey): [Read-Write]parent_space_control_data(PhysicsControlData): [Read-Write] Data for the parent space controlphysics_body_component_key(RigComponentKey): [Read-Write]physics_joint_component_key(RigComponentKey): [Read-Write]sim_space_control_component_key(RigComponentKey): [Read-Write]sim_space_control_data(PhysicsControlData): [Read-Write] Data for the simulation space controlsolver(RigPhysicsBodySolverSettings): [Read-Write] The solver to relate this new physics element to
- property body_data: PhysicsControlModifierData¶
[Read-Write] The runtime modifiable data of the new physics body
- Type:
- property collision: RigPhysicsCollision¶
[Read-Write] The collision properties of the new physics body
- Type:
- property drive_data: RigPhysicsDriveData¶
[Read-Write] Optional motor/drive associated with the physics joint
- Type:
- property dynamics: RigPhysicsDynamics¶
[Read-Write] The dynamics properties of the new physics body
- Type:
- property joint_data: RigPhysicsJointData¶
[Read-Write] The properties of the joint
- Type:
- property owner: RigElementKey¶
[Read-Write] The owner of the newly created component (must be set/valid)
- Type:
- property parent_space_control_component_key: RigComponentKey¶
[Read-Only]
- Type:
- property parent_space_control_data: PhysicsControlData¶
[Read-Write] Data for the parent space control
- Type:
- property physics_body_component_key: RigComponentKey¶
[Read-Only]
- Type:
- property physics_joint_component_key: RigComponentKey¶
[Read-Only]
- Type:
- property sim_space_control_component_key: RigComponentKey¶
[Read-Only]
- Type:
- property sim_space_control_data: PhysicsControlData¶
[Read-Write] Data for the simulation space control
- Type:
- property solver: RigPhysicsBodySolverSettings¶
[Read-Write] The solver to relate this new physics element to
- Type: