Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Adds a new physics body as a component on the owner element. Note: This node only runs as part of the construction event.
| Name | FRigUnit_AddPhysicsJoint |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsJointExecution.h |
| Include Path | #include "RigPhysicsJointExecution.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Spawn Physics Joint", Keywords="Add,Construction,Create,New,Joint,Articulation,Constraint,Skeleton", Varying))
struct FRigUnit_AddPhysicsJoint : public FRigUnit_PhysicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_PhysicsBaseMutable → FRigUnit_AddPhysicsJoint
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_AddPhysicsJoint() |
RigPhysicsJointExecution.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChildBodyComponentKey | FRigComponentKey | The child body of the joint. If unset, then the system will try to find a suitable body. | RigPhysicsJointExecution.h |
|
| DriveData | FRigPhysicsDriveData | Optional motor/drive associated with the physics joint. | RigPhysicsJointExecution.h |
|
| JointData | FRigPhysicsJointData | The properties of the joint. | RigPhysicsJointExecution.h |
|
| Owner | FRigElementKey | The owner of the newly created component (must be set/valid) | RigPhysicsJointExecution.h |
|
| ParentBodyComponentKey | FRigComponentKey | The parent body of the joint. | RigPhysicsJointExecution.h |
|
| PhysicsJointComponentKey | FRigComponentKey | RigPhysicsJointExecution.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
RigPhysicsJointExecution.h |