Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
A solver coordinates the physical movement of bodies.
| Name | FRigPhysicsSolverComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsSolverComponent.h |
| Include Path | #include "RigPhysicsSolverComponent.h" |
Syntax
USTRUCT (BlueprintType )
struct FRigPhysicsSolverComponent : public FRigBaseComponent
Inheritance Hierarchy
- FRigBaseComponent → FRigPhysicsSolverComponent
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SpaceMotion | FRigPhysicsSimulationSpaceMotion | RigPhysicsSolverComponent.h |
|
|
| TeleportDetection | FRigPhysicsTeleportDetectionSettings | RigPhysicsSolverComponent.h |
|
|
| TrackInputCounter | int32 | If we have to reset, then we can be told to track the input kinematically for a number of frames - this will be set > 0 and will be decremented each update. | RigPhysicsSolverComponent.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PhysicsSolverPtr | TSharedPtr< FRigPhysicsSolver > | We use a TSharedPtr here to share access/ownership with the game-thread world collisions task. | RigPhysicsSolverComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DECLARE_RIG_COMPONENT_METHODS
(
FRigPhysicsSolverComponent |
RigPhysicsSolverComponent.h | ||
FRigPhysicsSolver * GetPhysicsSolver () |
This will make the internally owned solver if necessary, and return it. | RigPhysicsSolverComponent.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultComponentName() |
RigPhysicsSolverComponent.h | ||
virtual const FSlateIcon & GetIconForUI() |
RigPhysicsSolverComponent.h | ||
virtual void Load
(
FArchive& Ar |
RigPhysicsSolverComponent.h | ||
virtual void OnAddedToHierarchy
(
URigHierarchy* InHierarchy, |
RigPhysicsSolverComponent.h | ||
virtual void Save
(
FArchive& Ar |
RigPhysicsSolverComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetDefaultName() |
RigPhysicsSolverComponent.h |