Hi,
I have a group of Object3D's which I want to rotate "as a whole" into a different direction.
First, I'm giving all the objects the same rotation pivot point.
Then, I come up with a single SimpleVector which represents the current direction of the object group.
Then, after some calculations, I come up with a new SimpleVector, which indicates the desired new direction of my objects.
My question now is, how to use these 2 vectors to rotate my objects?
So let's say:
Object3D[] group = something1;
SimpleVector original = something2;
SimpleVector destination = something3;
for (Object3D o: group)
{
// what to do with o?
}
Tnx!