Author Topic: setTransparency rotate my object??  (Read 1116 times)

Offline Disastorm

  • long
  • ***
  • Posts: 161
    • View Profile
setTransparency rotate my object??
« 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. 
« Last Edit: July 26, 2011, 01:31:58 am by Disastorm »

Offline Nemetz

  • int
  • **
  • Posts: 53
    • View Profile
Re: setTransparency rotate my object??
« Reply #1 on: July 26, 2011, 09:09:25 am »
Just try to use setSortOffset, and setCulling(Object3D.CULLING_DISABLED) for your object

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: setTransparency rotate my object??
« Reply #2 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.