Original Post
Hi, I'm doing some simple stuff in ogl to draw some cubes and spheres, where I first setup the camera, push the current modelview matrix onto the stack, translate to wherever I want to draw the current object, draw, then pop, returning to the original coordinate system. My question is, if the objects are draw with coordinates relative to their own local coordinate systems, how is it possible to do things like collision detection? (b/c you would need the global coords of everything to decide whether or not they collide right?)