Orbit Position

F

frozenwisp

Guest
so I need a way to make a object orbit around the player based of the direction of the xbox analog stick I did it with the draw event like this
dir is based of the player object which is attacted to the code for a 360 degree analog stick/ the reticle length is the distance for the player.
draw_circle(x+lengthdir_x(reticle_length,obj_player_parent.dir),y+lengthdir_y(reticle_length,obj_player_parent.dir),8,false);
but I need it to be a object any one got a idea on how to do this:
 
F

frozenwisp

Guest
thank so much the =equal sign was all i needed lol i thing it was really just a brain fart moment for me thanks again
 
Top