AppendBone

Categories

animation

Description

Appends a bone to a skeleton.

Scripting Syntax

oReturn = AppendBone( InputObjs, Ex, Ey, Ez, [Pin] );

Return Value

Returns the bone (a ChainBone object).

Parameters

Parameter Type Description
InputObjs String Skeleton effector

Default Value: Current selection

Ex Double New effector x coordinate

Default Value: 0

Ey Double New effector y coordinate

Default Value: 0

Ez Double New effector z coordinate

Default Value: 0

Pin Boolean True for a pin joint, False for a ball joint.

Default Value: True

Examples

VBScript Example

dim root, bone, eff, newbone
set root = Create3DSkeleton( -4.728, 0.000, 2.417, -1.343, 0.000, -2.778, 0.000, 1.000, 0.000, bone, eff )
set newbone = AppendBone( , 1.808, 0.000, 3.089, 1)

See Also

Create2DSkeleton Create3DSkeleton