unreal.RigPhysicsJointComponent

class unreal.RigPhysicsJointComponent(parent_body_component_key: RigComponentKey = Ellipsis, child_body_component_key: RigComponentKey = Ellipsis, joint_data: RigPhysicsJointData = [], drive_data: RigPhysicsDriveData = [])

Bases: RigBaseComponent

Rig Physics Joint Component

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsJointComponent.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 body

  • drive_data (RigPhysicsDriveData): [Read-Write] Optional motor/drive associated with the physics joint

  • joint_data (RigPhysicsJointData): [Read-Write] The properties of the joint

  • 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.

property child_body_component_key: RigComponentKey

[Read-Only] The child body of the joint. If unset, then the system will try to find a suitable body

Type:

(RigComponentKey)

property drive_data: RigPhysicsDriveData

[Read-Write] Optional motor/drive associated with the physics joint

Type:

(RigPhysicsDriveData)

property joint_data: RigPhysicsJointData

[Read-Only] The properties of the joint

Type:

(RigPhysicsJointData)

property parent_body_component_key: RigComponentKey

[Read-Only] 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:

(RigComponentKey)