unreal.ProposedMove¶
- class unreal.ProposedMove(preferred_mode: Name = 'None', direction_intent: Vector = Ellipsis, linear_velocity: Vector = Ellipsis, angular_velocity_degrees: Vector = Ellipsis, has_dir_intent: bool = False, mix_mode: MoveMixMode = Ellipsis)¶
Bases:
StructBaseEncapsulates info about an intended move that hasn’t happened yet
C++ Source:
Plugin: Mover
Module: Mover
File: MovementUtilsTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
angular_velocity_degrees(Vector): [Read-Write] Angular velocity in degrees per second. Direction points along rotation axis.direction_intent(Vector): [Read-Write] Directional, per-axis magnitude [-1, 1] in world space (length of 1 indicates max speed intent). Only valid if bHasDirIntent is set.has_dir_intent(bool): [Read-Write] Signals whether there was any directional intent specifiedlinear_velocity(Vector): [Read-Write] Units per second, world space, possibly mapped onto walking surfacemix_mode(MoveMixMode): [Read-Write] Determines how this move should resolve with other movespreferred_mode(Name): [Read-Write] Indicates that we should switch to a particular movement mode before the next simulation step is performed. Note: If this is set from a layered move the preferred mode will only be set at the beginning of the layered move, not continuously.
- property angular_velocity_degrees: Vector¶
[Read-Write] Angular velocity in degrees per second. Direction points along rotation axis.
- Type:
(Vector)
- property direction_intent: Vector¶
[Read-Write] Directional, per-axis magnitude [-1, 1] in world space (length of 1 indicates max speed intent). Only valid if bHasDirIntent is set.
- Type:
(Vector)
- property has_dir_intent: bool¶
[Read-Write] Signals whether there was any directional intent specified
- Type:
(bool)
- property linear_velocity: Vector¶
[Read-Write] Units per second, world space, possibly mapped onto walking surface
- Type:
(Vector)
- property mix_mode: MoveMixMode¶
[Read-Write] Determines how this move should resolve with other moves
- Type: