
[ad_1]
I’m fairly new to gamedev, so please bear with me.
So the tip purpose 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 the complete 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. However, once I do that, the enemy has some very bizarre conduct, getting caught, and teleporting round:
I’ve tried utilizing an enormous NavMesh aircraft for the enemy, that the participant can be unaffected by, however that did not work too properly both. (Though I’m open to any concepts!)
Here is a clip of the identical venture in my Testing scene, the place the healthbar and enemy motion are working as supposed:
I’m certain that I’m simply doing one thing easy flawed, however any assist can be actually appreciated! Also if you’d like any extra information that will assist, its yours!
Thanks!
[ad_2]