{"id":19359,"date":"2014-11-06T21:57:41","date_gmt":"2014-11-07T03:57:41","guid":{"rendered":"http:\/\/spiralvortexplay.com\/svp\/?p=19359"},"modified":"2023-09-01T12:24:43","modified_gmt":"2023-09-01T17:24:43","slug":"mmd-tutorial-leg-physics","status":"publish","type":"post","link":"https:\/\/spiralvortexplay.com\/svp\/2014\/11\/06\/mmd-tutorial-leg-physics\/","title":{"rendered":"MMD Tutorial: Leg Physics"},"content":{"rendered":"\n<p>Going to go over how to do leg physics since I don&#8217;t see a tutorial for it anywhere. I figured out at least a method to do it that works decent enough.<br>\nI am assuming if you want to add this to your model, that you already have at least a intermediate level of knowledge of how to use pmxe. Like how to create bones and stuff. If something is not mentioned in detail there is probably tons of tutorials for it already out there.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_structure.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_structure.jpg\" alt=\"mmd_leg_physics_structure\" class=\"wp-image-19360\"\/><\/a><\/figure><\/div>\n\n\n<p>This is the bone structure for legs that you need to do leg physics.<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_structure_close.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_structure_close.jpg\" alt=\"mmd_leg_physics_structure_close\" class=\"wp-image-19361\"\/><\/a><\/figure><\/div>\n\n\n<p>It might look normal at first but this is a closer look.<br>\n<br>\nextra Ik bones are added with the child of the bones being the lower bone portion of the leg bones.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_structure_w_physics_and_joints.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_structure_w_physics_and_joints.jpg\" alt=\"mmd_leg_physics_structure_w_physics_and_joints\" class=\"wp-image-19362\"\/><\/a><\/figure><\/div>\n\n\n<p>there is the structure with physics and joints.<br>\n<\/p>\n\n\n\n<p>ok you should have a good idea how this works. basically the inner physics colliders will oscillate in various directions based on the joint constraints to create the jiggle effect.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic1.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic1.jpg\" alt=\"mmd_leg_physics_tutorial_pic1\" class=\"wp-image-19363\"\/><\/a><\/figure><\/div>\n\n\n<p>steps:<br>\nI&#8217;ll start with a nude cirno model. I ran the through semi standard bones plugin. I did to auto correct any possible issues with physics or anything else that might be a problem later. Basically I have simply found that when editing a model it is good to run that first.<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic2.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic2.jpg\" alt=\"mmd_leg_physics_tutorial_pic2\" class=\"wp-image-19364\"\/><\/a><\/figure><\/div>\n\n\n<p>Add two new bones and place them under where the thigh bones begin. I have them right under so they are easy to click on again later. Make their parent bones match the Ik thigh bones parent bones.<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic3.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic3.jpg\" alt=\"mmd_leg_physics_tutorial_pic3\" class=\"wp-image-19367\"\/><\/a><\/figure><\/div>\n\n\n<p>make the child bones of the new bones you created also match the thigh bones.<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic4.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic4.jpg\" alt=\"mmd_leg_physics_tutorial_pic4\" class=\"wp-image-19368\"\/><\/a><\/figure><\/div>\n\n\n<p>now you need to make the bones IK and part of the leg system. you need to click the ankle bone in the IK leg chain. make on the bone section window you have the dark orange bone selected. you will see two bones there. 0 and 1. you need to copy the index of the new bone and add into the list in between the other two bones.<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic5.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic5.jpg\" alt=\"mmd_leg_physics_tutorial_pic5\" class=\"wp-image-19369\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic6.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic6.jpg\" alt=\"mmd_leg_physics_tutorial_pic6\" class=\"wp-image-19370\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic7.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic7.jpg\" alt=\"mmd_leg_physics_tutorial_pic7\" class=\"wp-image-19371\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic8.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic8.jpg\" alt=\"mmd_leg_physics_tutorial_pic8\" class=\"wp-image-19373\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic9.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic9.jpg\" alt=\"mmd_leg_physics_tutorial_pic9\" class=\"wp-image-19374\"\/><\/a><\/figure><\/div>\n\n\n<p>now do the same for the other leg.<br>\nnext add joints and physics to the regular leg joints<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic10.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic10.jpg\" alt=\"mmd_leg_physics_tutorial_pic10\" class=\"wp-image-19375\"\/><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic11.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic11.jpg\" alt=\"mmd_leg_physics_tutorial_pic11\" class=\"wp-image-19376\"\/><\/a><\/figure><\/div>\n\n\n<p>make the leg physics smaller<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic12.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic12.jpg\" alt=\"mmd_leg_physics_tutorial_pic12\" class=\"wp-image-19378\"\/><\/a><\/figure><\/div>\n\n\n<p>note the physics for the legs. make them not collide with other physics according to your model. other then that, all 4 leg joints have the same stats. and both physic colliders have these stats below.<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic13.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic13.jpg\" alt=\"mmd_leg_physics_tutorial_pic13\" class=\"wp-image-19379\"\/><\/a><\/figure><\/div>\n\n\n<p>the joints need to be linked between the new colliders and the existing leg physic colliders. I don&#8217;t think a specific direction is necessary but I haven&#8217;t checked. the pic illustrates the joint connections.<br>\n <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic14.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic14.jpg\" alt=\"mmd_leg_physics_tutorial_pic14\" class=\"wp-image-19381\"\/><\/a><\/figure><\/div>\n\n\n<p>make sure the physics are attached to the new bones.<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic15.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic15.jpg\" alt=\"mmd_leg_physics_tutorial_pic15\" class=\"wp-image-19382\"\/><\/a><\/figure><\/div>\n\n\n<p>you can test in transform view if you want<br>\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic16.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic16.jpg\" alt=\"mmd_leg_physics_tutorial_pic16\" class=\"wp-image-19383\"\/><\/a><\/figure><\/div>\n\n\n<p>now it is time to weight paint to the new bones. Gradient from 80 to 0 both legs.<br>\n<\/p>\n\n\n\n<p>and that is it. watch the legs jiggle in your motions.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic17.jpg\"><img decoding=\"async\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_tutorial_pic17.jpg\" alt=\"mmd_leg_physics_tutorial_pic17\" class=\"wp-image-19384\"\/><\/a><\/figure><\/div>\n\n\n<p>when I tired it with this particular model the legs were jiggling too much. way to tone it down are making the weight beginning at less than 80. like from 60 to 0 instead of 80 to 0. you can reduce the X and Z axes movement on joints (not rotation) to soften it up a bit. You need the joint rotation almost at full 360 degrees of movement so it won&#8217;t vibrate the leg.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls poster=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/mmd_leg_physics_video_thumb.jpg\" src=\"http:\/\/spiralvortexplay.com\/svp\/wp-content\/uploads\/2014\/11\/leg_physics_video.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Going to go over how to do leg physics since I don&#8217;t see a tutorial for it anywhere.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[23],"tags":[228,226,67,227,118],"class_list":["post-19359","post","type-post","status-publish","format-standard","hentry","category-article","tag-jiggle","tag-leg","tag-mmd-2","tag-physics","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/posts\/19359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/comments?post=19359"}],"version-history":[{"count":1,"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/posts\/19359\/revisions"}],"predecessor-version":[{"id":103369,"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/posts\/19359\/revisions\/103369"}],"wp:attachment":[{"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/media?parent=19359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/categories?post=19359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spiralvortexplay.com\/svp\/wp-json\/wp\/v2\/tags?post=19359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}