gun movement question

Started by ncw14, Wed 13/02/2008 23:16:54

Previous topic - Next topic

ncw14

how can i make the characters hand rotate by where the aimer is


example Divine intervention the arm holding the gun faces towards the aimer and rotates with it

Radiant

The easiest way?

Turn the hand into a character (with appropriate up, down, left and right frames, and possibly diagonals). Then use

Code: ags

function repeatedly_execute () {
  character[HAND].FaceLocation (mouse.x, mouse.y, eNoBlock);
}


SMF spam blocked by CleanTalk