unreal.AnimDatabaseFrameRangesFunction_MovingInDirection

class unreal.AnimDatabaseFrameRangesFunction_MovingInDirection(outer: Object | None = None, name: Name | str = 'None')

Bases: AnimDatabaseFrameRangesFunction

Frame ranges where the character is moving in the given direction

C++ Source:

  • Plugin: AnimDatabase

  • Module: AnimDatabase

  • File: AnimDatabaseFrameAttribute.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angle_threshold (float): [Read-Write] Character is considered moving in the direction when the angle between the velocity direction and the specified direction is less than this

  • direction (Vector): [Read-Write] Local direction to check if the character is moving in

  • velocity_threshold (float): [Read-Write] Character is only considered moving when the velocity is above this threshold