Skip to content

17.8.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 06:22

Description

This PR implements see_around functionality for WalkStraightAction of npc pedestrian.

Abstract

WalkStraightAction::doAction takes into account see_around parameter and if pedestrian_ignore_see_around is also set to aware before changing pedestrian position it checks if there is no other entity in front of it in distance it can stop.

Details

  1. Check if any entity is in front of pedestrian.
  2. Check if it is in defined minimal distance => minimal distance is calculated based on distance NPC needs to stop.
  3. Check if it will collide with pedestrian.

Destructive Changes

--

Known Limitations

--

References

RJD-1930

Related Issues