Escape By Any Means Devlog pt9
Escape By Any Means » Devlog
This is the line of sight script.
The AI draws a mesh by calculating the triangles and vertices needed.
When the player is spotted in this mesh the AI will transform.lookAt the player.
The player is spotted by drawing raycasts within the mesh and detecting if it hits a gameobject with the specified layermask.
This is what is happening in the gif (The AI keeps looking at the player).
A later addition will be a lose screen, which will stop this constant transform.lookAt issue
Get Escape By Any Means
Escape By Any Means
Status | In development |
Author | will2781 |
Genre | Action |
Tags | Stealth |
More posts
- Escape By Any Means Devlog pt23May 19, 2023
- Escape By Any Means Devlog pt22May 17, 2023
- Escape By Any Means Devlog pt21May 17, 2023
- Escape By Any Means Devlog pt20May 17, 2023
- Escape By Any Means Devlog pt19May 17, 2023
- Escape By Any Means Devlog pt18May 17, 2023
- Escape By Any Means Devlog pt17May 17, 2023
- Escape By Any Means Devlog pt16May 17, 2023
- Escape By Any Means Devlog pt15May 17, 2023
- Escape By Any Means Devlog pt14May 17, 2023