Agent-based pathfinding algorithm in partially observable environment using raycasting and navigation Mesh
Pathfinding is a navigation component of the agent in an Evacuation Model. Most models apply pathfinding approach to provide global information to the agent from the start due to the assumption that evacuees would always head towards the nearest exit and all exits are used equally. Realistically, ev...
Saved in:
Main Author: | |
---|---|
Format: | Thesis |
Language: | English |
Published: |
2017
|
Subjects: | |
Online Access: | http://eprints.utm.my/id/eprint/78810/1/MohamadNurfalihinMohdMFC2017.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | Pathfinding is a navigation component of the agent in an Evacuation Model. Most models apply pathfinding approach to provide global information to the agent from the start due to the assumption that evacuees would always head towards the nearest exit and all exits are used equally. Realistically, evacuees may only perceive its immediate surroundings, and be oblivious of other exits if the evacuee is unfamiliar with the environment. In evacuation, people tend to move towards familiar direction, which is the way they came in, and current solution of applying shortest path or least cost search approach does not demonstrate this emergent behaviour. In this study, as the counterpart of human, agents emulating human physical capabilities and limitations were developed in Unity3D Game Engine. The perception component of agent imitated human conic vision using Raycasting technique while its movement speed was limited to average movement speed of median population. Using input from Raycasting, a pathfinding algorithm based on the random mouse algorithm with localization feature using Navigation Mesh was developed. The environment for testing was built in the form of a maze in Unity3D and recordings were made to detect the agent arriving at the exit or not, and the time taken to navigate the environment in each iteration. Navigation Mesh was generated to represent walkable areas, and static obstacles that confined the spaces were labeled as walls. Unrendered cubes were placed at every intersection and exit, and were labeled accordingly. Result of the simulation showed that the pathfinding algorithm allowed the agent to successfully traverse the partially observable environment without prior knowledge, and the agent had demonstrated emergent behaviour with the integration of limited perception distance and realistic movement speed. The findings have shown that the algorithm can be used to simulate emergent behaviour in an Evacuation Model. |
---|