Hello guys,
I was wondering ..can one actor follow mouse with distance between them ?
First think that i take on mind was: "xmouse=player.x-10;" it is with decent syntax but it doesen't work. Ideas ?
angle=direction(xscreen, yscreen, xmouse, ymouse);
directional_velocity=distance(xscreen, yscreen, xmouse, ymouse)/6;
Users browsing this forum: No registered users and 1 guest