Skip to content
Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Download Free Animation Software – Let's Learn How to Do Everything!

  • Step-by-Step MMD instructions
  • DOWNLOADS
  • Troubleshoot, Fix MMD
  • Site Contents
  • Reggie Replies Q&A
  • Homework!
  • What IS MMD?
    • Download MikuMikuDance Newest Latest Version of MMD
  • “HOW TO”
    • Raycast RAY-MMD Effect Tutorials
  • BONUS PAGES
    • Why convert PMD models to PMX?
  • HALL of CHAMPIONS
  • Tutorial Categories
  • About
    • Privacy Policy
  • Toggle search form
  • Use PMDE to Switch On the MME AutoLuminous effect in MMD AutoLuminous MME / PMDE
  • Recent MikuMikuDance Updates may become collectible, who knows?! Download MikuMikuDance
  • Creating Spooky Scenes with MMD Animation Shortcuts
  • Typical MikuMikuDance MMD Download Project: Lucky! "the making of" my video
  • Using The Floor Light Art Effect in MMD. ARIZONA
  • MikuMikuDance Unbridled Creativity Starts with an Empty GUI MMD Basics
  • An MMD town stage: Making Kerorin Town Great Again – Part 2 MMD Stages
  • Convert VRoid Studio to MMD Header Image
    Convert VRoid Studio to MMD With One Click Mae Blythe
Luka with Body Pane with Vignette

Hair Falling through the Body in MMD Models and How to Fix It

Posted on December 15, 2018February 15, 2019 By Mae Blythe 6 Comments on Hair Falling through the Body in MMD Models and How to Fix It

A featured article by LearnMMD's Mae Blythe!Why does my MMD model’s hair fall through the body? How do you stop hair falling through the the body? How do bodies stop bodies from clipping through hair?

Hair Falling through the Body in MMD Models and How to Fix It

Note: This article is written for absolute beginners whose only experience with PMXE is dragging and dropping or swapping materials. If you understand PMXE well, the entire article can be summed up with this flow chart:

Flow chart that describes how to stop hair falling through the body

Recently, a reader sent an email with a simple problem: their model had hair falling through the body. They tried everything they knew how to do, but nothing fixed it. I responded with the canned answer of check for bodies, check for groups, then check for non-collision groups and it didn’t help. I might as well have been speaking Latin!

This article seeks to explain in very simple terms why there is hair falling through the body.

There are many illegally distributed versions of PMX Editor out there. I use likely the most illegal: EOSCustom’s translation. I will include screenshots of the Japanese version just in case anyone is using it.

Step One: Are there bodies?

What are bodies?

The three types of bodies in PMX Editor, sphere, box, and capsule

Bodies are those spheres, caps, and cubes that tell MMD that there is something there that should interact with. Adding them is rather easy, so don’t worry too much!

However, when you open a model in PMX Editor, you cannot see the bodies by default.  The quickest way to enable body view is by pressing the “D” button. This will allow you to see and manipulate the bodies. However, I prefer pressing buttons to learning hot keys.

PMXE Top Bar with Body Manipulation Enabled

In both instances, only bodies are selected.

How can you tell if there are bodies that are missing? In the model the reader gave me, there were two sets of bodies. The hair physics and the head body.

Model from Reader with only bodies for the head and hair

The hair had bodies, but the torso didn’t. That means that there will be hair falling through the body because there’s nothing to stop it!

How to Add Bodies

 

To add a body, select the bone you want the body to be attached to. To select a bone, ensure that “Bone” is selected in PMXE. Aside from clicking the button up at the top, you can also enable bone manipulation with the “B” key.

PMXE Top bar with Bone Manipulation enabled

In EOSCustom’s version of PMXE, go to “Edit > Bone > Create Body (B)”. Below is the path to do the same thing in the Japanese version as well.

Path to create body in PMX Editor's English version

Path to create body in the original Japanese PMXE

Hooray! We have successfully created a new body for the hair to interact with! However, the body is not the correct size.

Incorrectly sized body created using "Create Body" based off of bone

Incorrectly sized body created by using drop down menu in wireframe view.

As you can see (with some stuff deleted to make it easier to see), the body doesn’t cover her whole torso. How do you fix that? In the body pane, of course! (Note: to see the wireframe view, go to “mode” on the bottom of the PmxView window and play around with those settings.)

Body Tab in PMXEditor in both English and Japanese

I have no idea how to change the size of bodies without manually typing in the numbers. I’ve tried clicking everything on the handle, but nothing works. So, where it says “Size/Attitude” in the English version, just play with the height, width, and depth. The default is capsule, but you may find that box or sphere works better for you. You can change that under “Shape” in the English version.

With these settings…

Settings used to make the hair not fall through the body

… you can see that it worked! Though her hair falls around her body, you can see the hair bodies on her back, kept from falling through!

Hair bodies interacting with torso bodies to keep hair from clipping through.

Note: If you do not add bodies to the arms, the hair will clip through the arms. However, arms weren’t part of the reader’s original question and the workflow is identical.

Step Two: Are the Bodies the Same Color?

So, your model has bodies for everything that should interact with each other.

But the hair keeps falling through! What gives?!

Well, let’s play with Luka to show off what I mean. I’ve edited her to demonstrate this, and I don’t think she’s happy.

A very, very annoyed Luka

After my edits, in transform view I moved her around until I got her where I wanted…. with her hair falling through the body!

Luka's hair falling through the body due to all groups being the same.

The first step in investigating what went wrong is to click on “Body View” or press the “D” key in the PmxView window as before.

Luka model in PMXEditor with all bodies set to the same group.

Oh no! All of the bodies are the same color! When this happens, you need to change the group. To change the group, click the drop down box next to “Group” while the bodies you want to change are selected. This will give you options for every group possible. Choose one for the body other than the group the hair is in. Most models use “1” for the body bodies.

Luka with the groups changed for the torso body

Changing the group is pretty easy. However, as multiple bodies will need to be changed, it’s a good time to learn some shortcuts to make it easier. It’s always easiest to select bodies in the body pane and not in PmxView. The box with the scrollbar on the side is where you go to select the bodies. There are two ways to select multiple bodies at one time in the body pane.

The first way is by using “Left Click + CTRL”. This will cause every body you click to be selected in addition to previously selected bodies. The second way is to use “Left Click + Shift”. This will select all bodies between the body you had selected before and the one you just selected.

Step Three: Do the Bodies Look Correct?

So, you open up a model you’ve been having problems with and it looks perfect.

Luka with all of her bodies looking perfectPlenty of different colors and all of the bodies look like they’re the right size. However…

Luka's hair falling through her body due to non-collision groups

What gives?! Everything looks correct! The problem is the non-collision group.

Non-collision groups in the Japanese and English versions of PMXE

When you check a box in the non-collision group section, it means that any time a body collides with a body from the groups selected, it will pass through as if nothing happened. It’s almost as if the groups were in the same group!

To make Luka’s hair pass through her body, I changed every body so that it was in a non-collision group with Group 1. Unchecking that box will make her go back to normal!

Luka with hair fixed by changing the non-collision groups

This one is the hardest for someone new to MMD to fix, I think. Learning to create bodies is difficult, and finding out what should belong to which group is annoying. However, you can instantly tell something is wrong in those cases. In cases like this, you need to check everything individually in the body pane!

The easiest way to try to fix this is to select all bodies and remove “1” from every body’s collision group. However, this may mess up physics for other things than the hair. Sometimes MMD is just mean like that!

If That Doesn’t Help…

If you have went through all of this and you’re still having problems, there’s a chance the issue is with broken physics or weighting issues. That stuff is really in-depth and complex compared to bodies. At that point, it’s probably better to just choose a different part!

Thank you for reading, and I hope this was helpful!


– SEE BELOW for MORE MMD TUTORIALS…


— — —


– _ — –


Visit the LearnMMD.com Homepage! Plenty of Mikumikudance instruction and info!

More MMD Tutorials...

Create MMD model color morphs using PMXE

How can I add my own color-changing morphs to an MMD model? How do I ...read more

ALMorphMaker Adds AutoLuminous Morphs to your Model!

What is the ALMorphMaker plugin? How can I put AutoLuminous morphs on a model? How can ...read more

Keep the Center-Bone when adding Mother-Bone to an older model

I added a mother bone to my model but where did the Center bone go? ...read more

PMXEditor PMXInfo Analyzing Optimizing MMD Models

Have you ever downloaded or made your own model and opened it up, only to ...read more

Convert VRoid Studio to MMD With One Click

How can I convert VRoid Studio models to PMX models? Where do I go to ...read more

Convert SFM/GMOD Models Into MMD Flawlessly!

How do I convert SFM/GMOD models to MMD? From where do I get SFM/GMOD models? Is it ...read more

Fixing Broken Models, Mae Blythe, Making Models, Physics Engine, PMDE/PMXE tutorials

Post navigation

Previous Post: RAY-MMD: A method to get great results fast and easy!
Next Post: No Diamonds Appear in Frame Chart in MMD and How to Fix It

Related Posts

  • Build Accessories and Stages with PMXE Primitives Make your own Accessories
  • Translate Japanese Models to English with Google Translate and PMDE Bones
  • Add Facial Slider Options Using PMDE Enhance your MMD Models Modify Facial Sliders
  • Creating a new model using Piron's base and a great new T-shirt! MMD 7.39 PMDE
    Adding Parts in PMDEditor is Easier than you think! MMD 7.39 NOKO2
  • Making MMD Models Complicated Task with much to know! Making Models
  • Bandizip® keeps Japanese file names intact when Extracting ZIP folders Bandizip

More Related Articles

Make Chibi Models for MikuMikuDance! Adjust PMD Model Size
Translate PMX models to English using a PMX editor Fixing Broken Models
About changing models skirts using PMD Editor PMXE KillerBeer
PMDE Q&A – Making clothes follow model motions Fixing Broken Models
UV Unwrapping MMD Models in Blender with MMD Tools Bandages
No Diamonds Appear in Frame Chart in MMD and How to Fix It Mae Blythe

Comments (6) on “Hair Falling through the Body in MMD Models and How to Fix It”

  1. Project says:
    August 25, 2021 at 1:41 pm

    My model’s physics do work, it’s back hair works too, but the back hair goes through my model’s back if I twist it’s head to a specific angle, if you can help, please do!

    Reply
    1. Mae Blythe says:
      August 26, 2021 at 11:05 am

      Hi there!

      MMD physics are really tricky! It sounds like if you twist the head a certain way, there’s a tiny gap that the hair bodies can jump through. Slightly resizing the bodies and making sure there are no gaps will likely fix it!

      Reply
  2. Cute Love says:
    February 5, 2019 at 3:38 am

    Um excuse me, do you have a (Free online MMD skin editing)?? All I see was full of tutorials

    Reply
    1. Reggie_Dentmore says:
      February 5, 2019 at 8:39 am

      Nope! … Depending on what you want to do, you can use an art program to recolor a model’s texture images or you can use Blender and PMXE to create new textures. … See the tutorials. We offer no services like that.

      Reply
    2. KillerBeer says:
      February 5, 2019 at 8:41 am

      Um excuse me, are you sure you know what do you want? “Free online MMD skin editing” looks like you’ve came here led by the advice of some spam bot. Anyway, tutorials is what this site is about.

      Reply
      1. Reggie_Dentmore says:
        February 5, 2019 at 8:44 pm

        Um excuse me, I am so naive… I should have recognized that term in parenthesis as a lead from a spam message. Thank you!

        Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Download the latest version of MikuMikuDance!
See the MMD Step-by-Step instructions page!
Learn how to make your own MMD motions!
LearnMMD.com
  • MMD Camerawork makes your video exciting!
    No more boring MMD Camerawork – Keep it moving! Camera Motion
  • LearnMMD.com _ MikuMikuDance MMD Tutorials
    Almost Photo-realistic renders in MMD using Shaders and Effects Advanced Shader Technique
  • Cry Baby Motion DL featured image
    Free MMD Cry Baby Motion DL from DA’s Smol-Hooman "the making of" my video
  • Fixed version of the PluginManager featured image. Well, slightly fixed.
    MMD Plugin Manager… I Found a Treasure! MMD Tutorials
  • Troubleshoot MMD models– or anything else– with four techniques! Bandages
  • L_EdgeShader_Ver 1.00
    How to Use the L EdgeShader Effect for MikuMikuDance. ARIZONA
  • LearnMMD.com's Video Dojo Expo FIVE
    Beach-side Pool-side “Hot August Nights” – Video Dojo Expo FIVE CONTESTS
  • Adult Shader on a LAT model – it’s possible! Adult Shader effect

Copyright © 2022 Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software and Instructions..

Powered by PressBook Premium theme

Go to mobile version