How do I use SkeletonControl?

This isn’t even in the F1 documentation.

I want to make it return a node of a bone, but I don’t know how to tell the SkeletonControl what it is a control of.
AKA, how to initialize it.

I have

SkeletonControl skeleton; //What do I do to connect it to the model of the skeleton? neck.attachChild(skeleton.getAttachmentsNode("Bone.004"));


Don’t double post.
that’s the other way around
skeletonControl.getAttachmentsNode(“Name of the Bone you want to attach TO”).attachChild(whatEverSpatial);

1 Like