Hello I know that one can get absolute transforms of bones in a model.. But how to move them away (like inflating) ? I think to do so, I need to move them forward to their local positions but what I have is the absolute transfoms by
Model.CopyAbsoluteBoneTransformsTo(ModelAllTransforms);
How to proceed further ? I mean I can use
mesh.ParentBone.Transform = Matrix.CreateTranslation(?) * ModelAllTransforms;
but what would be the ? sign ..
Thanks a lot! 🙂
The direction you’re looking for is basically the local bone’s absolute transform minus the center, then normalized.
Something like this: