Parenting and Global Positioning

BlitzMax Forums/OpenGL Module/Parenting and Global Positioning

Drey(Posted 2006) [#1]
So parenting basically works by mutliplying matrices together. Well, i'm thinking about the future and i'm running into an issues.

If i'm moving an object around in it's parents local space then i want to check the distance compared to an another object with it's own local space. I'll have to do a chain of multiplying to figure out global space.

Is ther some way to create a global matrix that you could multiply against once? I'm just looking for minimum iterations.


Tom(Posted 2006) [#2]
Check this Drey: http://www.blitzbasic.com/Community/posts.php?topic=54613#609056