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 / Help with changing between cameras required

Author
Message
Compteach
16
Years of Service
User Offline
Joined: 4th Apr 2008
Location: Wherever I hang my hat
Posted: 10th May 2008 20:12
I have a function that allows the user to swap between two different cameras as in you would in an RPG for changing between characters in your team.

Hopefully someone can help out here and tell me why the following is not working.


It worked fine until I downladed the latest upgrade patch.
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 11th May 2008 08:09 Edited at: 11th May 2008 09:49
are you just trying to set the camera perspective to that of 1 of a few characters? if so, i would avoid creating (and deleting) multiple cameras as you are here unless you plan on utilizing multiple views at the same time because it will cause massive performance hits. it doesn't appear that you're using more than one at a time so why not just move and set up the same camera based on the current character?

is this what you're wanting to do? (check this code)



Virtual Nomad
AMD XP 1800+ (~1.6 Ghz) / 1.5 GB RAM
ATI Radeon 8700LE 128 MB / Windows XP

Login to post a reply

Server time is: 2024-09-27 14:30:13
Your offset time is: 2024-09-27 14:30:13