Flying Sword Attack

How do I…

Make 3 flying swords that orbit my boss and attack the player.

What is the expected result

The expected result is to have three flying swords orbiting the boss character and periodically attacking the player. After colliding with the player or ground/walls, the sword return to orbit with a cooldown before attacking again.

What is the actual result

The current result is that the swords orbit around the boss, which is done through using an extension. However, implementing the attack mechanism have been pretty hard to me as I don’t have a lot of experience.

Related screenshots

Hello @Markin_Yup ,

I created this quick example using a timer and tween. You may want to tweak some numbers and expand on it but the basic logic should work.

Thank you, I will try it. Have been feeling like I was hitting my head at the wall.