SHOW OBJECT BOUNDS This command will show the wireframe bounds that reveal the collision sphere and collision boundbox associated with the object.
Syntax
    SHOW OBJECT BOUNDS Object Number
    SHOW OBJECT BOUNDS Object Number, Box Only Flag
Parameters
    Object Number
Integer The object number
    Box Only Flag
Integer Specify a value of zero to disable, and a value of one to enable.
Returns
This command does not return a value.
Description
These bounds can later be hidden by using the HIDE OBJECT BOUNDS command. By specifying the optional Box Only Flag, the bound sphere is not shown with the box, allowing a clearer view of the bounding box on the object.
Example Code
    sync on : sync rate 60 : hide mouse:cls 0

    autocam off

    ObjectNumber=1

    SecondObject=2

    make object cone ObjectNumber,10

    xrotate object ObjectNumber,90

    fix object pivot ObjectNumber

    color object ObjectNumber,rgb(0,255,0)

    position object ObjectNumber, 0,0,0

    SHOW OBJECT BOUNDS ObjectNumber

    instance object SecondObject,ObjectNumber

    position object SecondObject,25,0,25

    while mouseclick()=0

    set cursor 0,0

    position camera object position x(SecondObject),object position y(SecondObject),object position z(SecondObject)+20

    point camera object position x(SecondObject),object position y(SecondObject),object position z(SecondObject)

    sync

    endwhile

    HIDE OBJECT BOUNDS ObjectNumber

    delete object ObjectNumber

    delete object SecondObject

    end
See also
BASIC3D Commands Menu Index