Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Configuration/settings for the physics solver
| Name | FRigPhysicsSolverSettings |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsData.h |
| Include Path | #include "RigPhysicsData.h" |
Syntax
USTRUCT (BlueprintType )
struct FRigPhysicsSolverSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutomaticallyAddPhysicsComponents | bool | If true, then any physics component below (the element owning this one) will be automatically added to this solver, if its UseAutomaticSolver flag is set. | RigPhysicsData.h |
|
| BoundsVelocityMultiplier | float | Expands the shape bounds to detect potentially active contacts when moving. | RigPhysicsData.h |
|
| bSolveJointPositionsLast | bool | When solving joints, whether to solve the positions last (as opposed to the orientations) | RigPhysicsData.h |
|
| bUseLinearJointSolver | bool | Whether to use the linear or non-linear solver for RBAN Joints. | RigPhysicsData.h |
|
| bUseManifolds | bool | It enables the use of multi-point contact manifolds, which are created only once at the start of each tick. | RigPhysicsData.h |
|
| Collision | FRigPhysicsCollision | The collision shapes defined in the collision space - e.g. for representing a ground etc. | RigPhysicsData.h |
|
| CollisionBoundsExpansion | float | This is the distance margin around shapes used to detect collisions. | RigPhysicsData.h |
|
| CollisionSpace | ERigPhysicsSimulationSpace | The space in which collision shapes are defined. | RigPhysicsData.h |
|
| FixedTimeStep | float | The recommended fixed timestep for the RBAN solver. | RigPhysicsData.h |
|
| Gravity | FVector | RigPhysicsData.h |
|
|
| KinematicAccelerationThresholdForReset | float | If any kinematic object in the simulation exceeds this acceleration, we will reset the velocities of all objects in the simulation.This is to detect problems - for example if the target animation has teleports etc. | RigPhysicsData.h |
|
| KinematicSpeedThresholdForReset | float | If any kinematic object in the simulation exceeds this speed, we will reset the velocities of all objects in the simulation.This is to detect problems - for example if the target animation has teleports etc. | RigPhysicsData.h |
|
| MaxDeltaTime | float | If a variable timestep is in use, this is the maximum delta time that can be used. | RigPhysicsData.h |
|
| MaxDepenetrationVelocity | float | When bodies are penetrating, this is the maximum velocity delta that can be applied in one frame. | RigPhysicsData.h |
|
| MaxNumRollingAverageStepTimes | int32 | This sets how or if the step size should be smoothed. | RigPhysicsData.h |
|
| MaxTimeSteps | int32 | The maximum number of solver steps that can be made. | RigPhysicsData.h |
|
| MaxVelocityBoundsExpansion | float | The maximum margin added due to movement. | RigPhysicsData.h |
|
| PositionIterations | int32 | The number of position iterations to run. | RigPhysicsData.h |
|
| PositionThresholdForReset | float | If any object in the simulation exceeds this distance from the simulation origin, we will reset the pose and velocity of the entire simulation. | RigPhysicsData.h |
|
| ProjectionIterations | int32 | The number of projection iterations to run. | RigPhysicsData.h |
|
| SimulationSpace | ERigPhysicsSimulationSpace | RigPhysicsData.h |
|
|
| SpaceBone | FRigElementKey | The bone to use for the collision or simulation space (only relevant if one is set to BoneSpace) | RigPhysicsData.h |
|
| VelocityIterations | int32 | The number of velocity iterations to run. | RigPhysicsData.h |
|
| WorldCollisionBoundsExpansion | float | Scales up the volume used to collect world objects for collision. | RigPhysicsData.h |
|
| WorldCollisionExpiryFrames | int32 | Keeps world objects for a few frames even if they go out of bounds, to avoid rapid creation/destruction. | RigPhysicsData.h |
|
| WorldCollisionType | ERigPhysicsWorldCollisionType | Overlap type used to collect world objects. If set to None then there will be no world collisions. | RigPhysicsData.h |
|