Game Development Community

Need help converting coordinates

by Tyler · in Torque Game Engine · 03/30/2006 (2:33 am) · 2 replies

Recently I've been working to bring to life a game that was dropped by it's creators (Construction the Game), however the deploy code I'm using requires that I will need to take worldspace coordinates and convert them directly into object space coordinates. Before I go any further, I have looked through previous topics regarding a mWorldToObj, I am lost on how to use it.

#1
04/04/2006 (2:27 pm)
*bump

I really need help with mWorldToObj, does anyone know how to use it?
#2
04/05/2006 (4:32 pm)
I think you can use the mulP and mulV matrix methods in mWorldtoObj to transform points and direction vectors from world space to object space.