I have a car model with different parts of the car described in vertex groups. I want to rotate the tires. The origin of the model is in the middle of the car. Want I'm thinking I need to do is translate the tires to the origin, rotate the tires, then translate them back to their original position.
My problems if the translating to the origin and back part. I'm thinking I can use the identity matrix to move it to the origin, but how do I move it back.
I think I need to find the center of my tire's vertex group and save this some how.
Can anyone lead me in the right direction of how I should be thinking about this?