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 mouse movement

Author
Message
Justice
20
Years of Service
User Offline
Joined: 22nd Jun 2004
Location:
Posted: 11th Apr 2006 23:59
I need some help

I want to place a gun on the screen with the camera behind it.

I can move the camera forwards,backwards,right & left.

I would like to be able to turn the object with my mouse and then move it forwards or backwards so the camera will follow the object.

Can anybody help me with a small piece of code ?
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 12th Apr 2006 00:13 Edited at: 12th Apr 2006 00:17
Don't move the object ... move the camera and keep the gun model at the same location relative to the camera. If you do that then you might want to look up the help file for the DISABLE OBJECT ZDEPTH COMMAND.

Alternatively, as above move the camera not the gun but use LOCK OBJECT ON ... again see the help file for details on the command.


Login to post a reply

Server time is: 2024-09-24 21:24:51
Your offset time is: 2024-09-24 21:24:51