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 / how do i get a bullet to fire straight?

Author
Message
bigbrother 2000
21
Years of Service
User Offline
Joined: 15th Oct 2003
Location: UK
Posted: 27th Jan 2004 21:45
hi ,
i have this code:


which fires a bullet, although when it fires it goes straight forward to the camera's perspective, although i would prefer it to fire forward in the direction the object(a jet) is facing, as sometimes when turning the object, and you fire a bullet which fires forward, away from the camera, whilst the jet is facing to the left/right,

i think it is this line SET OBJECT TO CAMERA ORIENTATION 2 that makes the bullet fire according to the camera, any ideas of how i could get it to fire according to the direction the jet is pointing?
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 27th Jan 2004 21:59


Is what you need

"They misunderestimated us" - George Bush
"The box said 'Requires Windows 95 or better'. So I installed LINUX. "

Formerly David89.
bigbrother 2000
21
Years of Service
User Offline
Joined: 15th Oct 2003
Location: UK
Posted: 27th Jan 2004 22:06
where abouts should i put that line/does anything in the orignal need deleting?
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 27th Jan 2004 23:56
replace "SET OBJECT TO CAMERA ORIENTATION 2" as you're using the orientation of the jet object and not the camera

Login to post a reply

Server time is: 2024-11-26 01:43:50
Your offset time is: 2024-11-26 01:43:50