Just finished following the Make Our Attackers Attack lecture, got the Lizard enemy set up with scripts, collider, rigidbody, and animator rigged up.
The lizard spawns fine, transitioning between jumping animation and walking animation smoothly, but as soon as the lizard comes near a deployed defender, it become a moving sprite.
It keeps the same movement speed but is not continuing any animation whatsoever.
If anyone can help, it would be really helpful
1 Like
Hi Jonathan,
Please check your attack animation. Is there an animation event which sets the speed
/moveSpeed
to 0?
1 Like
There is no animation event at all for this animation. Is this what’s causing the problem? Do I just add an animation event and set the speed to 0?
It’s working now. Somehow I didn’t notice the part when rick places an animation event on it.
Thank you, Nina
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.