Author Topic: Billboard rotation  (Read 2786 times)

Offline K24A3

  • long
  • ***
  • Posts: 231
    • View Profile
Billboard rotation
« on: January 30, 2012, 01:11:12 pm »
Is there a way to rotate a billboarded Object3D on it's Z Axis?

I have a textured plane that has billboarding enabled and would like to rotate it clockwise as if you were looking at a fan spinning from the front.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Billboard rotation
« Reply #1 on: January 30, 2012, 05:40:47 pm »
That's not possible, i'm afraid. The billboading replaces the rotation matrix with an inverted camera matrix. So all other rotations are lost. If you want a different behaviour, you might want to set the rotation matrix yourself.

Offline K24A3

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Billboard rotation
« Reply #2 on: January 31, 2012, 01:49:57 am »
Will do, thanks.