Can you scale a bone?

So I have this, but it does not work. I see under bone you can get the initial scale.

handBoneNodeAI = zombie1->GetChild("r hand", true);
handBoneNodeAI->SetScale(Vector3(0.05f,0.05f,0.05f));

This won’t work though.

You can’t transform bones in a scene update process because it will be overridden in the skinning update.
Subscribe to the post render update and scale your bone there.

2 Likes

Okay that sounds to be the issue. Thanks

My mistake I had issue with my event.

Thanks for the help