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 Physics & Dark A.I. & Dark Dynamix / Exclude Object when it is not visible [DarkAI]

Serge Adjo
Years of Service
User Offline
Joined: 3rd Aug 2006
Posted: 18th May 2010 18:20
Hi everyone,
assuming you have 100 Objects in a complex scene with many view blocking obstacles: the code below will help hiding the 100 Objects whenever they are not visible ! The idea is to use 'AI Get Entity Can See ( Entity Number, X#, Z#, Height )' to improve graphic performance

But this method has a big drawback: since the center of the objects are used to compute if they are visible, the method produce clipping when the object is partly behind an obstacle...

please, help me improve this technique by using the ends of the objects to compute their visibility instead of the center, how can I do ?

Login to post a reply

Server time is: 2022-11-27 19:11:13
Your offset time is: 2022-11-27 19:11:13