Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / shooting problem

Author
Message
Nameless
20
Years of Service
User Offline
Joined: 11th Apr 2004
Location: U.S.A.
Posted: 17th Oct 2004 00:21
In DBPro when I am strafing left or right, in a FPS, and I try to shoot for some reason the bullets appears a couple of inches to the left or right of my gun and gets shot form there.I thought this code would fix it but it did'nt.



Object 2 is the bullet and X#,Y#, and Z# are the Y,X,and Z coordinates of the gun. Would someone please tell me what I am doing wrong.Thanks
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 17th Oct 2004 06:53
Difficult to say without seeing more code - but is it possible that the bullet is being fired from the correct place, but slightly after the gun has moved away from that position? i.e. have you made sure the code to update the gun position comes before the code to position the bullet?


Login to post a reply

Server time is: 2024-09-23 02:24:14
Your offset time is: 2024-09-23 02:24:14