public int getCollideWithGroups() {
        return collisionGroupsMask;
    }
Gets the bitmask of collision groups that this object collides with.
@return a bitmask
jme3-jbullet/src/main/java/com/jme3/bullet/collision/PhysicsCollisionObject.java