Page 1 of 1

Anyone got a fix for rotating billboards?

Posted: Sun Jun 20, 2004 3:24 am
by c_olin3404
I've seen a bit of talk about how it is impossible to rotate a billboard... and this kinda sucks for all of us making fps's... all i need to do is rotate the billboard along the z axis... has anyone created a fix for this? i looked into fixing it myself but i only screwed it up more :oops:

Posted: Sat Jun 26, 2004 8:52 am
by thesmileman
Ummm....doesn't a billboard always face the camera? I am pretty sure that it does. Try it.

Posted: Sun Jun 27, 2004 2:13 am
by Guest
:P ... i know.. lol

I mean rotate it along the z axis

Posted: Tue Jul 20, 2004 11:52 am
by calimero
unfortunatly I have no answer but I'm interested in the problem.
Will irrlicht support rotating billboard in a next version ?
And what about axial billboard (not sure of the name) (example : to implement object with cylindrical symetry like some trees)

Posted: Tue Jul 20, 2004 11:58 am
by StuCollier
Do you mean to create DECALS ? OR do you want the "billboard" to rotate around the Z Axis ?

Posted: Mon Aug 09, 2004 11:11 am
by calimero
I put some code in the "opendiscussion" forum to implement "axial" billboard. please try it to see if it suits your needs.

for rotation along the Z axis you have to set the "orientation" vector to something like vector3df(0,0,length).