jPCT-AE - a 3d engine for Android > Support

Billboard rotation

(1/1)

K24A3:
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.

EgonOlsen:
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.

K24A3:
Will do, thanks.

Navigation

[0] Message Index

Go to full version