Hello, i’ve recently gotten into creating my very own 3D game engine and i’ve gotten to the point where i would like to apply animations to my 3D meshes. I’ve got the ability to create a 3d model (obj format) and place it in 3d space at a location, with a certain rotation (using Quaternions) and a certain size. So i know how to rotate the whole mesh, but i want to only rotate certain groups of vertices around a point. I’ve rigged some bones onto a model and exported. I have the initial rotations for the bones, and the vertex weights on the mesh.

Questions:

- How do i apply a transformation matrix to only a part of a mesh?
- Also, how do i incorporate vertex weights to make the rotation more or less?
- Do i need to create arrays of vertices for each bone? To then apply different transformation matrices to each different array of vertices?
- If i’m right with number 3, how would the vertex weight effect the amount of rotation?

Would be great if you guys could help me get all these questions answered, but if you can only help me with one go ahead! Its much appreciated.

Also if you have any questions, ask away!