Invisible attack animation for a Ninja enemie character,How to create invisible attack animation

I have a Ninja enemie character which has 2 special moves set and i want to create a special move where he disappeared from the screen for a second And attack the player from behind or maybe left or right how can i do this?,I have a Ninja enemie character and it has a special move set and i want to add invisibility to the animation so whenever he try to attack our player for a moment he gets disappeared from the screen so the player can’t see him then he attack the player from behind or left or right

Hello.

If you want you character to “disapear” you should disable MEsh renderer compoenent. This way the object is still there, with its scripts transforms, rigidbodies and colliders working, but it will not be rendered, so it will become “invisible”

The you only need to change its position and enable renderer component again!

Bye :smiley: