unreal.ProposedMove
¶
- class unreal.ProposedMove(mix_mode: MoveMixMode = Ellipsis, preferred_mode: Name = 'None', has_dir_intent: bool = False, has_target_location: bool = False, direction_intent: Vector = Ellipsis, linear_velocity: Vector = Ellipsis, angular_velocity: Rotator = Ellipsis, move_plane_velocity: Vector = Ellipsis, target_location: Vector = Ellipsis)¶
Bases:
StructBase
Encapsulates 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
(Rotator): [Read-Write] Units per second, world space, possibly mapped onto walking surfacedirection_intent
(Vector): [Read-Write] Signals whether the proposed move should move to a target location, regardless of other fieldshas_dir_intent
(bool): [Read-Write] Indicates that we should switch to a particular movement mode before the next simulation step is performed.has_target_location
(bool): [Read-Write] Signals whether there was any directional intent specifiedlinear_velocity
(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.mix_mode
(MoveMixMode): [Read-Write]move_plane_velocity
(Vector): [Read-Write] Degrees per second, local spacepreferred_mode
(Name): [Read-Write] Determines how this move should resolve with other movestarget_location
(Vector): [Read-Write] Units per second, world space, always along the movement plane
- property angular_velocity: Rotator¶
[Read-Write] Units per second, world space, possibly mapped onto walking surface
- Type:
(Rotator)
- property direction_intent: Vector¶
[Read-Write] Signals whether the proposed move should move to a target location, regardless of other fields
- Type:
(Vector)
- property has_dir_intent: bool¶
[Read-Write] Indicates that we should switch to a particular movement mode before the next simulation step is performed.
- Type:
(bool)
- property has_target_location: bool¶
[Read-Write] Signals whether there was any directional intent specified
- Type:
(bool)
- property linear_velocity: 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 mix_mode: MoveMixMode¶
[Read-Write]
- Type: