when i click the player and put in the camera, and extend what the player can see and move through the gun wouldnt point where the mouse is. it points behind the player sprite. how do i fix this.
picture below.
Extract the mouse position using mouse move and put it into pointat.
1 Like
here the code
the code is suppose to be like that right??
the problem is if the character moves forward the gun or weapon will go behind the character. if mouse points forward it would not
Is the gun extracting the player’s position so it stays with it?
Try clicking on the point at block, then select game coordinates instead of screen
1 Like
it works thank you!
1 Like