REMOVE LIMB This command will remove an existing limb from an object.
Syntax
    REMOVE LIMB Object Number, Limb Number
Parameters
    Object Number
Integer The object number
    Limb Number
Integer The limb number
Returns
This command does not return a value.
Description
Destroying a limb will also remove every limb associated as a child node from the removed limb.
Example Code
    sync on : sync rate 0 : hide mouse:cls 0

    autocam off

    ObjectNumber=1

    SecondObject=2

    ThirdObject=3

    limbnumber=5

    load image "iron.jpg",1

    load object "model.x",ObjectNumber

    point object ObjectNumber,0,0,0

    position object ObjectNumber, 0,0,0

    texture object ObjectNumber,1

    make object sphere SecondObject,1

    point object SecondObject,0,0,0

    position object SecondObject, 0,0,0

    position camera 0,0,5

    point camera 0,0,0

    if limb exist(ObjectNumber,limbnumber)=1

    color limb ObjectNumber,limbnumber,rgb(0,255,0)

    make object from limb ThirdObject,ObjectNumber,limbnumber,1

    position object ThirdObject,3,0,0

    remove limb ObjectNumber,limbnumber

    endif

    while mouseclick()=0

    sync

    endwhile

    delete object ObjectNumber

    delete object SecondObject

    delete object ThirdObject

    end
See also
BASIC3D Commands Menu Index