As said in my last post here, im creating an attack for a boss battle where many projectiles are spawned around the player in a circle formation, before closing in. Something like the "rotate torwards position" feature would be useful, but i can't use that since i want the sprites to keep upright. Any help?
Use the bullet behavior and turn off the set angle property.
That doesn't help though, i need them all closing in into one position.
Develop games in your browser. Powerful, performant & highly capable.
> Use the bullet behavior and turn off the set angle property. That doesn't help though, i need them all closing in into one position.
> Use the bullet behavior and turn off the set angle property.
They're in a circle formation, so i was wondering if there was some sort of formula to set their angle to, so that they all fire into the center.
Set bullet angle of motion to angle(bullet.x,bullet.y,player.x,player.y).
The bullet will move towards the player, and if you have the set angle property disabled, they will not orient towards the angle of motion.