Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/PhysicsMovement.h |
Include |
#include "PhysicsMovement.h" |
USTRUCT(BlueprintType)
struct FPhysicsInputCmd
Name | Description | ||
---|---|---|---|
|
Acceleration |
||
|
AngularAcceleration |
||
|
bBrakesPressed |
||
|
bJumpedPressed |
||
|
bLegit |
For testing: to ensure the system only sees user created InputCmds and not defaults. |
|
|
Counter |
Debugging. |
|
|
Force |
Simple world vector force to be applied. |
|
|
float |
TargetYaw |
Target yaw of character (Degrees). Torque will be applied to rotate character towards target. |
|
Torque |
Name | Description | |
---|---|---|
|
FPhysicsInputCmd() |
Name | Description | ||
---|---|---|---|
|
NetSerialize ( |
||
|
ShouldReconcile ( |
||
|
ToString() |