Hi!Does anyone know how can i make a gun that shoot bullets exacly where i point with my crosshair? So, i got a model,a crosshair that is standing in the middle of the screen and ofcourse bullets shooting.But i want to know how can i make the bullets go where my crosshair is.
Last edited by Ted22; 12/27/0915:19.
Re: Bullets to target
[Re: Ted22]
#303266 12/27/0915:4612/27/0915:46
Make the crosshair snap to the mouse, in a while loop and then you can use mouse_dir3d/mouse_pos3d to fire the bullet in the '3D' direction of the mouse.