| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/PhysicsCore/Public/PhysicsSettingsCore.h |
Include |
#include "PhysicsSettingsCore.h" |
class UPhysicsSettingsCore : public UDeveloperSettings
Default physics settings.
Name | Description | ||
---|---|---|---|
|
bEnable2DPhysics |
Can 2D physics be used (Box2D)? |
|
|
bEnablePCM |
Enables persistent contact manifolds. |
|
|
bEnableShapeSharing |
Enables shape sharing between sync and async scene for static rigid actors |
|
|
bEnableStabilization |
Enables stabilization of contacts for slow moving bodies. |
|
|
float |
BounceThresholdVelocity |
Minimum relative velocity required for an object to bounce. |
|
bSimulateSkeletalMeshOnDedicatedServer |
If true, simulate physics for this component on a dedicated server. |
|
|
bWarnMissingLocks |
Whether to warn when physics locks are used incorrectly. |
|
|
float |
ContactOffsetMultiplier |
Contact offset multiplier. |
|
float |
DefaultFluidFriction |
Default fluid friction for Physics Volumes. |
|
float |
DefaultGravityZ |
Default gravity. |
|
TEnumAsByte< EC... |
DefaultShapeComplexity |
Determines the default physics shape complexity. |
|
float |
DefaultTerminalVelocity |
Default terminal velocity for Physics Volumes. |
|
TEnumAsByte< EF... |
FrictionCombineMode |
Friction combine mode, controls how friction is computed for multiple materials. |
|
float |
MaxAngularVelocity |
Max angular velocity that a simulated object can achieve. |
|
float |
MaxContactOffset |
Max Contact offset. |
|
float |
MaxDepenetrationVelocity |
Max velocity which may be used to depenetrate simulated physics objects. 0 means no maximum. |
|
float |
MinContactOffset |
Min Contact offset. |
|
RagdollAggregateThreshold |
Threshold for ragdoll bodies above which they will be added to an aggregate before being added to the scene |
|
|
TEnumAsByte< EF... |
RestitutionCombineMode |
Restitution combine mode, controls how restitution is computed for multiple materials. |
|
SimulateScratchMemorySize |
Amount of memory to reserve for PhysX simulate(), this is per pxscene and will be rounded up to the next 16K boundary |
|
|
SolverOptions |
Options to apply to Chaos solvers on creation |
|
|
float |
TriangleMeshTriangleMinAreaThreshold |
Triangles from triangle meshes (BSP) with an area less than or equal to this value will be removed from physics collision data. |
Name | Description | |
---|---|---|
|
UPhysicsSettingsCore ( |
Name | Description | ||
---|---|---|---|
|
UPhysicsSett... |
Get() |
|
|
SetDefaultSettings ( |
Name | Description | ||
---|---|---|---|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Name |
Description |
---|---|
DefaultSettings |
Override default settings. |
Name | Description | ||
---|---|---|---|
|
bDefaultHasComplexCollision_DEPRECATED |
If true, static meshes will use per poly collision as complex collision by default. |