unreal.NavMovementInterface¶
- class unreal.NavMovementInterface(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterfaceNav Movement Interface
C++ Source:
Module: Engine
File: NavMovementInterface.h
- get_velocity_for_nav_movement() → Vector¶
Get the current velocity of the agent for nav movement
- Return type:
- is_falling() → bool¶
Returns true if currently falling (not flying, in a non-fluid volume, and not on the ground)
- Return type:
- is_flying() → bool¶
Returns true if currently flying (moving through a non-fluid volume without resting on the ground)
- Return type:
- is_moving_on_ground() → bool¶
Returns true if currently moving on the ground (e.g. walking or driving)
- Return type:
- is_swimming() → bool¶
Returns true if currently swimming (moving through a fluid volume)
- Return type:
- request_direct_move(move_velocity, force_max_speed) → None¶
path following: request movement through a velocity directly