unreal.RigUnit_AddPhysicsJoint¶
- class unreal.RigUnit_AddPhysicsJoint(execute_pin: RigVMExecutePin = [], owner: RigElementKey = Ellipsis, physics_joint_component_key: RigComponentKey = Ellipsis, parent_body_component_key: RigComponentKey = Ellipsis, child_body_component_key: RigComponentKey = Ellipsis, joint_data: RigPhysicsJointData = [], drive_data: RigPhysicsDriveData = [])¶
Bases:
RigUnit_PhysicsBaseMutableAdds a new physics body as a component on the owner element. Note: This node only runs as part of the construction event.
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsJointExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
child_body_component_key(RigComponentKey): [Read-Write] The child body of the joint. If unset, then the system will try to find a suitable bodydrive_data(RigPhysicsDriveData): [Read-Write] Optional motor/drive associated with the physics jointexecute_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_body_component_key(RigComponentKey): [Read-Write] The parent body of the joint. If unset, then the system will try to find a suitable body by looking for a parent that contains a body that is in the same solver as the child body.physics_joint_component_key(RigComponentKey): [Read-Write]
- property child_body_component_key: RigComponentKey¶
[Read-Write] The child body of the joint. If unset, then the system will try to find a suitable body
- Type:
- property drive_data: RigPhysicsDriveData¶
[Read-Write] Optional motor/drive associated with the physics joint
- 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_body_component_key: RigComponentKey¶
[Read-Write] The parent body of the joint. If unset, then the system will try to find a suitable body by looking for a parent that contains a body that is in the same solver as the child body.
- Type:
- property physics_joint_component_key: RigComponentKey¶
[Read-Only]
- Type: