Assistance request: Calcuting LocalToParent Matrix
Posted: Mon Dec 10, 2007 1:51 pm
Hi,
instead of spending several hours trying to figure it out myself, while I should rewrite the resource manager, I'll just ask for a little help here.
My problem:
I need to compute a LocalToParent (and ParentToLocal) transformation matrix, in order to allow parenting of dynamic objects.
My input: the LocalToWorld matrix of the Parent and the LocalToWorld matrix of the Child.
I thought a matrix substraction would de the trick, but I'm not to sure of that, so any advice is welcome...
Thanks!
instead of spending several hours trying to figure it out myself, while I should rewrite the resource manager, I'll just ask for a little help here.
My problem:
I need to compute a LocalToParent (and ParentToLocal) transformation matrix, in order to allow parenting of dynamic objects.
My input: the LocalToWorld matrix of the Parent and the LocalToWorld matrix of the Child.
I thought a matrix substraction would de the trick, but I'm not to sure of that, so any advice is welcome...
Thanks!