www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: K24A3 on January 30, 2012, 01:11:12 pm

Title: Billboard rotation
Post by: K24A3 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.
Title: Re: Billboard rotation
Post by: EgonOlsen 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.
Title: Re: Billboard rotation
Post by: K24A3 on January 31, 2012, 01:49:57 am
Will do, thanks.