Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Removes all force records (assuming they hasn't been applied yet) with the given Name on the Body component.
| Name | FRigUnit_HierarchyRemovePhysicsBodyForce |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsBodyExecution.h |
| Include Path | #include "RigPhysicsBodyExecution.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Remove Force", Varying, Keywords="Physics, Impulse, Torque, Acceleration, Velocity"))
struct FRigUnit_HierarchyRemovePhysicsBodyForce : public FRigUnit_PhysicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_PhysicsBaseMutable → FRigUnit_HierarchyRemovePhysicsBodyForce
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_HierarchyRemovePhysicsBodyForce() |
RigPhysicsBodyExecution.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Name | FName | The name of the force record to remove. | RigPhysicsBodyExecution.h |
|
| PhysicsBodyComponentKey | FRigComponentKey | The Physics Body to be updated. | RigPhysicsBodyExecution.h |
|
Functions
Public
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
RigPhysicsBodyExecution.h |