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 / Wondering about camera rotation...

Author
Message
Wufflez
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: United Kingdom
Posted: 21st Dec 2002 14:52
In the room.dba demo, that comes with DB1.. can the camera controls be modified, so that it's possible to rotate the camera around the player?

I know it's going to be one of the camera rotation commands, but I don't know where, or how, to add in this extra bit of control.

I've copied out the camera function from the dba, here is the unedited source:




I want to keep the effect, where the camera flows into a 3rd person position behind the player, along with the code that keeps it from going through walls.

The bit I need to snip out (that's if it stop the camera rotating properly), is the code that swings the camera into the 3rd spot.

Finally, adding the code that rotates the camera. Most of the original code won't need to be edited or removed at all, I'm just not sure where I should edit..
-------------------------------------------------
http://www.sepherion.co.uk/images/wufflez/Wufflez.jpg[/img]

Login to post a reply

Server time is: 2024-02-23 13:42:23
Your offset time is: 2024-02-23 13:42:23