Ugh, I feel like one of those things "I should just know". Anyway, I have a parent-child system set up for a simple (very simple) animation system I'm putting together. The main idea being I can animate simpler parts of the world without having to wait on an artist.
For getting the world matrix of a child, that's easy, I simply multiply by each parent nodes' world matrix in the correct order. This works and I have it down. What I can't seem to do is correctly update the actual vectors held like:
I've tried many things, such as multiplying (transforming) by their parent matricies, adding to position/rotation, multiplying by scale, ect, but it isn't coming out right. So how do I transform the "node space" (or model space) positions, rotations and scales to world space while correctly staying aligned with the parent?
Any help is much appreciated.