How to make top down swing attack in the direction i click


expertly drawn idea here. I’ve tried using extensions such as orbit and what not but i cant seem to make it work. A little help would be appreciated

There is a “Put an object around another” action I think you could use for this.

Use a variable to keep track of the angle When the mouse is clicked you can set the value of that variable, using “AngleBetweenPositions” (using x,y of the center object, and x,y position of the mouse). Every step, use put an object around another using the variable as the angle. That will place the sword around the hero, initially in the direction of the original mouse click

Each step you can add or subject from the variable to make the sword swing around the hero.

1 Like