unreal.PhysicsReplicationMode¶
- class unreal.PhysicsReplicationMode¶
Bases:
EnumBaseEPhysics Replication Mode
C++ Source:
Module: Engine
File: EngineTypes.h
- DEFAULT: PhysicsReplicationMode = Ellipsis¶
Default physics replication.
- Type:
0
- NONE: PhysicsReplicationMode = Ellipsis¶
Don’t apply physics replication Note: Can be used to temporarily disable physics replication for specific actors.
- Type:
255
- PREDICTIVE_INTERPOLATION: PhysicsReplicationMode = Ellipsis¶
Physics replication performing velocity interpolation. Note: Not forward predicted which makes this not viable for ENetRole::ROLE_AutonomousProxy if input latency is of concern. Recommendation: All physics objects that interact should use the same replication mode. Use alongside a kinematic pawn (not physics simulated). Designed to handle local predictive interactions with other actors, especially actors of the local role ENetRole::ROLE_AutonomousProxy. Enable Project Settings > Physics Prediction for best result
- Type:
1
- RESIMULATION: PhysicsReplicationMode = Ellipsis¶
Work In Progress. Forward predicted replication by simulating physics and correcting errors through resimulating physics from a correct state in the past. Recommendation: All physics objects that interact should use the same replication mode. Use on physics simulated pawns along with any physics objects that will interact with such pawns. Available when Project Settings > Physics Prediction is enabled.
- Type:
2