unreal.PhysicsInputCmd
¶
- class unreal.PhysicsInputCmd(force=[0.0, 0.0, 0.0], torque=[0.0, 0.0, 0.0], acceleration=[0.0, 0.0, 0.0], angular_acceleration=[0.0, 0.0, 0.0], target_yaw=0.0, jumped_pressed=False, brakes_pressed=False)¶
Bases:
unreal.StructBase
Physics Input Cmd
C++ Source:
Plugin: NetworkPredictionExtras
Module: NetworkPredictionExtras
File: PhysicsMovement.h
Editor Properties: (see get_editor_property/set_editor_property)
acceleration
(Vector): [Read-Write] Accelerationangular_acceleration
(Vector): [Read-Write] Angular Accelerationbrakes_pressed
(bool): [Read-Write] Brakes Pressedforce
(Vector): [Read-Write] Force: Simple world vector force to be appliedjumped_pressed
(bool): [Read-Write] Jumped Pressedtarget_yaw
(float): [Read-Write] Target Yaw: Target yaw of character (Degrees). Torque will be applied to rotate character towards target.torque
(Vector): [Read-Write] Torque