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 / Camera/Object Problem

Author
Message
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 11th Feb 2007 21:14 Edited at: 11th Feb 2007 23:57
Hey everyone!
I'm having a small problem making a fps in DBC. When I press space, it makes the bullet fine, but it moves the camera and makes the bullet at the start position. How would I make it so it creates the bullet at the camera's current positiion.

This is my code that is not working.





Another thing is, can someone give me a code snippet for a first person shooter shooting system, so that it doesn't actually create bullets, but it finds if there is an object in the way of the bullet path. Thanks
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 11th Feb 2007 22:31 Edited at: 11th Feb 2007 22:32
Write AUTOCAM OFF at the top of your code. The autocam automatically makes the camera go to new objects, so by turning this off, the camera will stay put

Login to post a reply

Server time is: 2024-11-26 21:34:25
Your offset time is: 2024-11-26 21:34:25