Luckyxzx / Simple-AI-Game

Finite state machine ai game idk
0 stars 0 forks source link

Known Bug During Testing #2

Open Luckyxzx opened 1 year ago

Luckyxzx commented 1 year ago

**During the testing phase, I have noticed that the ai will constantly stick to the player model, causing collision issues with that problem, the ai model pushes towards the player, and when I the player jump it starts causing collision problems and the ai model pushes the player model upwards shown in the gif

Working on a fix to currently but not really getting anywhere**

ezgif com-optimize (3)

Luckyxzx commented 1 year ago

Temporary fix found was using a NavMeshAgent, which is built in by Unity and baking the whole scene, which helped keep the ai grounded but the ai would still push into the player model even when using the braking and stopping distance from NavMeshAgent

image

ezgif com-optimize (4)

Luckyxzx commented 1 year ago

Current bug found that due to the navmeshagent and baking the scene the ai will sometimes collide into the player causing the ai to lose focus of the player and doesn't lock on properly

Luckyxzx commented 1 year ago

First Comment Linked Gif ezgif com-optimize (3)

Second Comment Linked Gif ezgif com-optimize (4)