unreal.MassStandingAvoidanceParameters

class unreal.MassStandingAvoidanceParameters

Bases: MassSharedFragment

Mass Standing Avoidance Parameters

C++ Source:

  • Plugin: MassAI

  • Module: MassNavigation

  • File: MassAvoidanceFragments.h

Editor Properties: (see get_editor_property/set_editor_property)

  • ghost_max_acceleration (float): [Read-Write] Max acceleration of the ghost. Making this larger than the agent speed will make the ghost react quickly.

  • ghost_max_speed (float): [Read-Write] Mas speed the ghost can move.

  • ghost_obstacle_detection_distance (float): [Read-Write] The distance at which neighbour agents are detected when updating the ghost.

  • ghost_separation_distance (float): [Read-Write]

  • ghost_separation_radius_scale (float): [Read-Write] Agent radius scale for separation. Making it smaller makes the separation softer. Range: 0.8..1

  • ghost_separation_stiffness (float): [Read-Write]

  • ghost_stand_slowdown_radius (float): [Read-Write] The steering will slow down when the ghost is closer than this distance to the target. Range: 5..50

  • ghost_steering_reaction_time (float): [Read-Write]

  • ghost_to_target_max_deviation (float): [Read-Write] How far the ghost can deviate from the target location.

  • ghost_velocity_damping_time (float): [Read-Write] How quickly the ghost speed goes to zero. The smaller the value, the more the movement is dampened.

  • moving_obstacle_avoidance_scale (float): [Read-Write] Much much avoidance is scaled for moving obstacles. Range: 1..5.

  • moving_obstacle_directional_scale (float): [Read-Write] How much the ghost avoidance is tuned down when the moving obstacle is moving away from the ghost. Range: 0..1

  • moving_obstacle_personal_space_scale (float): [Read-Write] How much extra space is preserved in front of moving obstacles (relative to their size). Range: 1..5