x+=lengthdir_x(speed_,direction)
y+=lengthdir_y(speed_,direction)
x+=lengthdir_x(speed_hor,direction-90)
y+=lengthdir_y(speed_hor,direction-90)
direction=point_direction(x,y,mouse_x,mouse_y)
so that is where its facing at. When speed is smaller then 0 its moving backwards
movementdir=point_direction(xprevious,yprevious,x,
y)
so thats the actually direction
now when the hover has a collision with a wall it has to bounce of, but im not sure how to do this
So when it has a colllision the facingdirection will stay the same, but the speed and horizontalspeed has to change.
Here is an image to show what I mean, I hope you'll understand it











