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 / My camera doesn't work!

Author
Message
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 3rd Aug 2005 03:48
when I wrote this code


when I press the left mouse key it won't show what the object is seeing. Please help me!
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 3rd Aug 2005 05:32
Well, which way is the sphere looking? Left, right, degrees? I made this code that may help out:


OK, that should work for you. However, if the camera looks the opposite direction than the sphere, insert this code between the set camera to object orientation and the endif:turn camera left 180. You're set and ready to go. If you need more help, post here or e-mail me.

--------------------------------------
Vote for Excelsis on the Puzzle Game Compo

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 5th Aug 2005 02:50
never mind, I solved it

Login to post a reply

Server time is: 2024-09-24 01:21:52
Your offset time is: 2024-09-24 01:21:52