Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsSettings.h |
| Include | #include "PhysicsEngine/PhysicsSettings.h" |
Syntax
USTRUCT ()
struct FPhysicsReplicationResimulationSettings
Remarks
Default settings for physics replication using EPhysicsReplicationMode::Resimulation
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableResimulationErrorAngularVelocityThreshold | Enable angular velocity error threshold to trigger resimulation | |
| bool | bEnableResimulationErrorLinearVelocityThreshold | Enable linear velocity error threshold to trigger resimulation | |
| bool | bEnableResimulationErrorPositionThreshold | Enable positional error threshold to trigger resimulation | |
| bool | bEnableResimulationErrorRotationThreshold | Enable rotational error threshold to trigger resimulation | |
| float | ResimulationErrorAngularVelocityThreshold | Velocity degrees / second before a state discrepancy triggers a resimulation | |
| float | ResimulationErrorLinearVelocityThreshold | Velocity difference in centimeters / second before a state discrepancy triggers a resimulation | |
| float | ResimulationErrorPositionThreshold | Distance in centimeters before a state discrepancy triggers a resimulation | |
| float | ResimulationErrorRotationThreshold | Rotation difference in degrees before a state discrepancy triggers a resimulation |
Constructors
| Type | Name | Description | |
|---|---|---|---|