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.

Dark GDK / Hiding objects

Author
Message
Green Frog
14
Years of Service
User Offline
Joined: 2nd Aug 2010
Location:
Posted: 2nd Aug 2010 12:45
Hi,
I'm making a game in which i have created a new camera. I need to be able to hide certain objects from this new camera whilst have them still visible to the default camera. Is this possible?
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 2nd Aug 2010 16:16
i believe there is a command called dbGetCurrentCamera or dbCurrent camera or something, if not, you can always track your current camera using a varibale (because you choose when to switch cameras, so when you switch just save the currect camera id in the variable)

and simply you can do this


you can put this in a class or a system or whatever but this is the simplest and easiest way

Green Frog
14
Years of Service
User Offline
Joined: 2nd Aug 2010
Location:
Posted: 7th Aug 2010 14:58
ok thanks i'll try that

Login to post a reply

Server time is: 2024-11-19 20:49:31
Your offset time is: 2024-11-19 20:49:31