how do I get xyz coordinates (centre) of open GL objects
I have a patch where I'm moving objects around in GL, but at the moments simply using xy coordingates of a region of the screen and mapping this to position of the objects in GL. Ideally I want the xyz position of the centre of each object on the screen (most are spheres). Currently the spheres are generated using gl.gridshape.
Cheers for any help, B.
If you just want the position of an ob3d, you can use the 'getposition' message to the object, or you can use my favorite method, binding a pattr to the object's position attribute:
Been away
Excellent - Huge help. Many thanks.
B.