Will check if the ray starting at oldx, oldy, oldz and ending at newx, newy, newz, and of width radius, collides with the specified object (objID=0 for all). Does not collide with backfaces, will return the number of the object hit first, or 0 for no collision. Sphere casting commands add a width dimension to normal ray casting which can be used to check if a player has hit anything during movement and to position them at the collision point to provide 'sticky' collision, where the player stops if they hit anything. The alternative is sliding collision. see ObjectSphereSlide


integer ObjectSphereCast( objID, oldx, oldy, oldz, newx, newy, newz, radius )