So i have this enemy ship with bullet and sine behaviors. I would like the enemy's angle to match the sine movement. In the bullet behavior, 'set angle' has no effect and using 'angle of motion' does not work either. Any ideas?
One way to do it is to record the sprite's X and Y position from the previous tick, and set the sprite's angle based on the angle between its previous position, and its current position.
Demo
Capx
Ah yes, that is what i need, thank you. :)
Develop games in your browser. Powerful, performant & highly capable.
Thank you, I was needing this for my project.