Attaches an object to the specified AnimBone in a similar manner to dbpro's Glue Object To Limb. When AnimObject_Update() is called, glued objects inherit their world matrices from the AnimBones to which they are attached. This involves directly overwriting the object's internal world matrix, and means the Object Angle ?() and Object Scale ?() commands should no longer be expected return the correct values. Glued object transforms should be read from their parent AnimBone instead.
Parameters
ObjectID
INTEGER
The Object which is being glued
pAnimBone
INTEGER
The AnimBone to which the object is being glued
Mode
INTEGER
0 to directly use bone's world matrix, 1 to use bone world position/rotation only