I am fairly new to gamedev, so please bear with me.
So the tip aim right here is to have some platforms that spawn in, and the participant has to remain on the platforms to remain alive, whereas an enemy roams all the display screen (Unaffected by gravity), making an attempt to kill/knock the participant off the platforms.
The present setup I’ve is every platform has a NavMesh, and 4 hyperlinks (1 per aspect). The NavMesh is re-baked at any time when a brand new platform spawns. Nonetheless, after I do that, the enemy has some very bizarre habits, getting caught, and teleporting round:
I’ve tried utilizing a large NavMesh airplane for the enemy, that the participant can be unaffected by, however that did not work too nicely both. (Although I am open to any concepts!)
Here’s a clip of the identical venture in my Testing scene, the place the healthbar and enemy motion are working as supposed:
I am positive that I am simply doing one thing easy unsuitable, however any assist can be actually appreciated! Additionally if you would like any extra data that will assist, its yours!
Thanks!