Vizard 7 » Command Index » Vizard objects » node3d » <node3d:avatar>.getRootBoneList
7.7

<node3d:avatar>.getRootBoneList

Returns root bone list

<node3d:avatar>.getRootBoneList()  

Remarks

This command will return a list of all the root bones of the avatar. Most avatars only have one root bone.

Return Value

A list of bones

Example

bones = avatar.getRootBoneList()

#Print name of root bones
for b in bones:
    print(b.getName())

See also

<node3d:avatar>.getBone
<node3d:avatar>.getBoneList