#Arm aiming following the mouse cursor

8 messages · Page 1 of 1 (latest)

glad jay
#

in the second picture my mouse isn't showing up up its way up near the player_arm tab

vast current
#

get_global_mouse_position() has 0, 0 on the top left of your screen

#

local is 0,0 top left of the window

#

ah wait, that might've been a different one

vast current
glad jay
#

It does if I remove the clamp

#

But i feel like its the shoulder thats following along and I needed the tip of the gun to follow, I put the pivot on the shoulder so the arm doesnt rotate out of the body

vast current
#

in that case, might be good to add an offset to the angle