rotating vectors?
Ok guys I’m sure someone’s dealt with this already.
I’m working on the last few things I want to put into the BRayBaker script and basicly the last important one is taking the rotation of an object into account.
For this I need to take the rotation of the object (3 angles in radians) and use them to transform the face normal.
Get the rotation
Object.Get(myobject).rot
Get the normal
me.faces[nr].no
I think that’s all I need to do… I thought I had to recalculate the positions of all verts as well, but it looks like my script only uses them to get the camera size and relative distance along the normal. (it’s been a while since I wrote it).
[edit] Woops no… I need to recalculate the relative position of each vert as well, but they’re basicly vectors as well… so if I have one I have them all. [/edit]
Any help is appreciated! 
