www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Disastorm on July 26, 2011, 01:29:11 am

Title: setTransparency rotate my object??
Post by: Disastorm on July 26, 2011, 01:29:11 am
Hello, I call setTransparency and it seems to be rotating my object or something, since my object becomes upside down.  Have you seen this before?  It actually looks a little stranger than that like maybe it only rotates part of my object or something. 
Title: Re: setTransparency rotate my object??
Post by: Nemetz on July 26, 2011, 09:09:25 am
Just try to use setSortOffset, and setCulling(Object3D.CULLING_DISABLED) for your object
Title: Re: setTransparency rotate my object??
Post by: EgonOlsen on July 26, 2011, 10:21:56 am
setSortOffset() makes sense only if multiple objects are involved. I guess what you see there is the overlapping/sorting issue with transparent objects. setTransparency() has definitely  absolutely nothing to do with any kind of rotations.

Anyway, a screen shot might help.