Returns the objects collision mask. By default all physics objects are in one group and are not masked. If you use collision groups and masks you must use them for all physics objects.
integer GetObject3DPhysicsMask( objID )
int agk::GetObject3DPhysicsMask( UINT objID )