Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Disable keyframe animation from all bones so that they will not interfere with the ragdoll
- AnimatedModel@ model = node.GetComponent("AnimatedModel");
- Skeleton@ skeleton = model.skeleton;
- for (uint i = 0; i < skeleton.numBones; ++i)
- skeleton.bones[i].animated = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement