Advertisement
Guest User

Untitled

a guest
May 28th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. // Disable keyframe animation from all bones so that they will not interfere with the ragdoll
  2. AnimatedModel@ model = node.GetComponent("AnimatedModel");
  3. Skeleton@ skeleton = model.skeleton;
  4. for (uint i = 0; i < skeleton.numBones; ++i)
  5. skeleton.bones[i].animated = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement