Question by
miphy04KSI · Sep 17, 2020 at 06:16 PM ·
2dscripting problemscript.platformer
Enemy jump in unity 2d
Hi guys! I've got a little problem. I'm trying to find a code or any solution for my enemy to jump, but he won't (photos will be included). I tried to use the OnTriggerEnter2D, when he collides with the dirt and grass he'll (or he should) jump, but still not working. Does somebody know, what should I do? That's why I'm here. I'll be grateful for every help!! [1]: /storage/temp/167690-snimek-obrazovky-148.png [2]: /storage/temp/167691-snimek-obrazovky-150.png
snimek-obrazovky-148.png
(212.6 kB)
snimek-obrazovky-150.png
(68.2 kB)
Comment
Your answer
Follow this Question
Related Questions
C#: How do you make a 2D game object jump? 1 Answer
Ground check doesnt work 0 Answers
How do I move a prefab the same speed as my scrolling background? 0 Answers
Big numbers 2 Answers