ssp - billboard effect - how ?

Blitz3D Forums/Blitz3D Beginners Area/ssp - billboard effect - how ?

Right, get you now. As i say i'm at college but the only way, using sin and cos, it would work for me, was to rotate in stages.

Firstly i would rotate about the z axis first. Then i would rotate around the y axis, using the new co-ords generated by the first rotation. Then finally i would rotate it about the x axis, using the rotated co-ords from the previous rotations. I'll post some code to help you when i get home. Should be about 5 hours time, if you can hold on that long.

It took me a while, and alot of paper, to figure it out. It's strange cause it needs to be rotated in a certain sequence or it won't work :D