Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDeveloperSettings
- UPhysicsSettingsCore
- UPhysicsSettings
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsSettings.h |
Include | #include "PhysicsEngine/PhysicsSettings.h" |
Syntax
class UPhysicsSettings : public UPhysicsSettingsCore
Remarks
Default physics settings.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | AnimPhysicsMinDeltaTime | Min Delta Time below which anim dynamics and rigidbody nodes will not simulate. |
![]() |
float | AsyncFixedTimeStepSize | If using async, the time step size to tick at. |
![]() |
bool | bDisableActiveActors | If true, physx will not update unreal with any bodies that have moved during the simulation. |
![]() |
bool | bDisableCCD | If true CCD will be ignored. |
![]() |
bool | bDisableKinematicKinematicPairs | Whether to disable generating KK pairs, enabling this speeds up contact generation, however it is required when using APEX destruction. |
![]() |
bool | bDisableKinematicStaticPairs | Whether to disable generating KS pairs, enabling this makes switching between dynamic and static slower for actors - but speeds up contact generation by early rejecting these pairs |
![]() |
bool | bSimulateAnimPhysicsAfterReset | Whether to simulate anim physics nodes in the tick where they're reset. |
![]() |
bool | bSubstepping | Whether to substep the physics simulation. |
![]() |
bool | bSubsteppingAsync | Whether to substep the async physics simulation. |
![]() |
bool | bSupportUVFromHitResults | If true, store extra information to allow FindCollisionUV to derive UV info from a line trace hit result, using the FindCollisionUV utility |
![]() |
bool | bSuppressFaceRemapTable | If true, the internal physx face to UE face mapping will not be generated. |
![]() |
bool | bTickPhysicsAsync | Whether to tick physics simulation on an async thread. |
![]() |
FChaosPhysicsSettings | ChaosSettings | Chaos physics engine settings |
![]() |
FBroadphaseSettings | DefaultBroadphaseSettings | If we want to Enable MPB or not globally. |
![]() |
TEnumAsByte< ESettingsDOF::Type > | DefaultDegreesOfFreedom | Useful for constraining all objects in the world, for example if you are making a 2D game using 3D environments. |
![]() |
float | InitialAverageFrameRate | Physics delta time initial average. |
![]() |
float | MaxPhysicsDeltaTime | Max Physics Delta Time to be clamped. |
![]() |
float | MaxSubstepDeltaTime | Max delta time (in seconds) for an individual simulation substep. |
![]() |
int32 | MaxSubsteps | Max number of substeps for physics simulation. |
![]() |
float | MinDeltaVelocityForHitEvents | Minimum velocity delta required on a collinding object for Chaos to send a hit event |
![]() |
float | MinPhysicsDeltaTime | Min Physics Delta Time; the simulation will not step if the delta time is below this value |
![]() |
TArray< FPhysicalSurfaceName > | PhysicalSurfaces | PhysicalMaterial Surface Types. |
![]() |
FRigidBodyErrorCorrection | PhysicErrorCorrection | Error correction data for replicating simulated physics (rigid bodies) |
![]() |
FPhysicsPredictionSettings | PhysicsPrediction | Settings for Networked Physics Prediction, experimental. |
![]() |
int | PhysXTreeRebuildRate | The number of frames it takes to rebuild the PhysX scene query AABB tree. |
![]() |
float | SyncSceneSmoothingFactor | Physics delta time smoothing factor for sync scene. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UPhysicsSettings
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UPhysicsSettings * | Get () |
|
![]() ![]() |
int32 | ||
![]() |
void | Load Material Type data from INI file this changes displayname meta data. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
UObject interface |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TEnumAsByte< ESettingsLockedAxis::Type > | LockedAxis_DEPRECATED |