07-02-2006 14:52
Hi all you scripter fellows ;-)

I am stuck with my house rezzer script, all works fine now but have a problemw ith the rotation... (and lacking a bit of the needed math now for solving it) so I hope someone can help me.

I have a central base that rezzes out all the parts, they follow on movement, and rotet when base is rotatet, but they rotate in place.

What I would need is how ro calculate the rotation around the base's center. Lets say I have tha base in Position x,y,z and the part is at an offset of x+10,y+10,z+10 - now I rotate the base so the object needs to rotate around the base center and not around it's own center - and that is a bit too high for me - please can someone help with that ?

thx very much in advance
Sabrina