- Home /
Question by
farrico · Jul 22, 2021 at 02:39 PM ·
scripting problemplatformerenemy aienemies
Help with enemy scripts
Hey guys! i'm making a 3d demo. Gameplay is about old scool games like Donkey Kong Country and Adventure Island. The player will be able to ride different kind of animals wich will help reaching out areas the main character can't.
I'm not a programmer, so my programming is very basic.
i'm trying to make the enemy in the video (mosquito in the video) once detects the player in certain area, the mosquito falls ant attacks. Then it stills stucked on the ground.
I'm Using NAV MESH AGENTS for enemies and two scripts, one is health system and the controller i'm attaching.
Could anyone tell me how to make the mosquito fall when it detects the player please?
untitled-2.jpg
(338.1 kB)
Comment