Syntax
Result = dbMakeObjectFromLimb(SourceID, ObjectID, LimbID [, CopyAllFlag])
Description
If #PB_Any is used as the ObjectID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the ObjectID parameter.
This command will make a simple object from the specified limb. You can use this command to remove a limb element such as an arm or gun from an object and create a new object using just this element. Ideal for deconstructing loaded models and using their elements for other uses. An optional parameter of zero will copy just a single limb from the object, whereas a value of one will copy the limb, its orientation data and all limbs linked that limb as well. It is important to note than when you extract a limb from an object, any shared scaling or rotating from the parent frames will be lost, and you will have the pure frame, without any shared influences.
See Also
dbMakeObject, dbMakeObjectBox, dbMakeObjectCone, dbMakeObjectCube, dbMakeObjectCylinder, dbMakeObjectPlain, dbMakeObjectSphere, dbMakeObjectTriangle