How do i make a object fly at a player so the player has to doge them
Develop games in your browser. Powerful, performant & highly capable.
Hah, doge.
Use physics behavior and just apply force or impulse, whichever is more appropriate for what you're doing, towards the player's X and Y coordinates.