How do I create an enemy Ai that is similar to a goomba?

I am creating a “collect-a-thon” 3D platformer, Im trying to create an enemy that behaves similarly to of a goomba where it bumps into the enemy player and the player loses a health point. so far everything works okay except that the player loses all health points rapidly, how would i code that? i have the ai to track and walk towards the player.

Sounds like you’re using Event Hit which can, indeed, trigger rapidly. If so, try this:

We only allow 5 hits per second in this scenario.

1 Like

thanks! i never thought about the sequence node! im learning as i go and i appreciate it!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.