www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Berunin on January 12, 2013, 04:36:20 pm
-
Hello all.. I create little game and I do not know how to make invisible collide border... :( If i set border.setTransparency(0) or -1
object is transparent but still visible....
Please help (sorry for my english)
-
I do not know what exactly you mean, but you should try Object3D.setVisibility(false)...
-
:) set.visibility(false) == colision off .. true?
Thanks but I've found a solution here, I have to turn off the effect of light on the subject
border.setLighting(Object3D.LIGHTING_NO_LIGHTS);
ps:zdravim krajana :)
-
Set the object to invisible for rendering and to visible for collision detection. Doing it your way might work but it slows down rendering with no need.
-
Thank you very much your solution occurred to me, I'll try it but my solution works well and no slowdown see it.