17.8.0
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
- Check if any entity is in front of pedestrian.
- Check if it is in defined minimal distance => minimal distance is calculated based on distance NPC needs to stop.
- Check if it will collide with pedestrian.
Destructive Changes
--
Known Limitations
--