1
Modification Help / Re: Mouse position to world coords (in script)
« on: August 30, 2007, 11:25:47 AM »
So,
=
camera pos + ("x/15 0 y/15" + forward vector)
Code: [Select]
%Pos3D = VectorAdd(%client.camera.getPosition(), VectorAdd((%x / 15) SPC "0" SPC (%y / 15), %client.player.getForwardVector()));
=
camera pos + ("x/15 0 y/15" + forward vector)