Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Game programming

object.setDistanceClippingThresholds bug ?

All about the StoneScript

object.setDistanceClippingThresholds bug ?

Postby harold35 » 20 Jul 2012, 16:24

I use this command object.setDistanceClippingThresholds ( hObject, nInDistance, nOutDistance ) to mask object when they are to far from the camera. So it's work fine, the object become invisible when i am far than nInDistance.

But i am surprise because i test the object with bVisible = object.isVisible ( hObject ) and the object is always considered visible, and bVisible is always on true.

logically when the object become invisible bVisible must be false...
harold35
Platinum Boarder
Platinum Boarder
 
Posts: 446

Return to Game programming