#57157 - chrissieboy - Thu Oct 13, 2005 11:45 pm
Im busy with making a chase cam, so i got a vehicle and the camera must chase the object. So the perspective is 3rd person.
But now i must know the x,y,z position of my vehicle, is there some function in ndslib or something? Wich knows the place of the mesh?
Because gltranslate places my mesh but don't knows the place after a few moves.
I saw some documentation about popmatrix and pushmatrix but i realy don't understand where this is usefull for??
I looked myself in opengl.c but can't find a function or something to read out object positions.
Thanx!
But now i must know the x,y,z position of my vehicle, is there some function in ndslib or something? Wich knows the place of the mesh?
Because gltranslate places my mesh but don't knows the place after a few moves.
I saw some documentation about popmatrix and pushmatrix but i realy don't understand where this is usefull for??
I looked myself in opengl.c but can't find a function or something to read out object positions.
Thanx!