Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Sets the external velocity of the simulation - used for adding wind effects.
| Name | FRigUnit_SetPhysicsSolverExternalVelocity |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsExecution.h |
| Include Path | #include "RigPhysicsExecution.h" |
Syntax
USTRUCT (Meta=(DisplayName="Set Physics Solver External Velocity"))
struct FRigUnit_SetPhysicsSolverExternalVelocity : public FRigUnit_PhysicsBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_PhysicsBaseMutable → FRigUnit_SetPhysicsSolverExternalVelocity
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_SetPhysicsSolverExternalVelocity() |
RigPhysicsExecution.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExternalAngularVelocity | FVector | Additional angular velocity that is added to the component angular velocity. | RigPhysicsExecution.h |
|
| ExternalLinearVelocity | FVector | Additional velocity that is added to the component velocity so the simulation acts as if the actor is moving at speed, even when stationary. | RigPhysicsExecution.h |
|
| ExternalTurbulenceVelocity | FVector | This will treat the external velocity like a wind field and add turbulence to it. | RigPhysicsExecution.h |
|
| PhysicsSolverComponentKey | FRigComponentKey | The physics solver. | RigPhysicsExecution.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
RigPhysicsExecution.h |