Syntax

Value.f = dbObjectCollisionCenterX(ObjectID)

Description

This command will return the X position of the center of the collision sphere associated with the specified object. The position is returned as a real value, and the object is specified using an integer value.

See Also

dbGetObjectCollisionX, dbGetObjectCollisionY, dbGetObjectCollisionZ, dbIntersectObject, dbObjectCollisionCenterY, dbObjectCollisionCenterZ, dbObjectCollision, dbObjectHit