I want to use Mine cloth system(softbody)
1:export a human body model by blender(gltf)
2:export a hair model by blender(gltf)
3:import to jme use DynamicAnimControl bind my human
4:then i want to use the hair modle link to this human and this hair use mine cloth system
i try it some way
but it is failed
1 Like
I have a 3D editor program on android
and used jme
this program is online now
Mine cloth example is create mesh by jme
sgold
July 2, 2022, 6:06am
4
Simulating hair might be difficult. I suggest you learn about Minie soft bodies by simulating something easier, like a foam-rubber object or a piece of cloth.
2 Likes
sgold
July 3, 2022, 5:08pm
6
What kind of failures are you seeing?
If the app crashes, there should be a diagnostic message and/or a stack trace.
If there is unexpected behavior, a short video of the behavior might yield some insight.
i‘m try to use DynamicAnimControl And link a cloth mesh(export by blender)
Now i dont know how to do it
sgold
July 9, 2022, 4:30pm
8
DynamicAnimControl can only generate rigid bodies, not soft bodies.
I know this~ i learned your Mine TestSoftBody.java
and i try to use my model
this is my code
it is my result
1 Like
sgold
July 10, 2022, 7:15am
10
I remember the skirt required much tuning. Here are some details and tricks I remember:
The cloth mesh should be as homogeneous as possible, with diagonals that alternate directions and all edges approximately the same length.
A short physics time step helps to prevent rigid bodies from poking through the cloth.
Increasing the margin of the cloth also helps prevent poking through, but if it becomes too large, the cloth will billow away from the body.
Instead of fitting the skirt to the body, begin with the skirt raised and allow gravity and rigid bodies to shape it.
1 Like
thanks i will try always
and i will publish my android app on googleplay soon
now it is a chinese Simplified project
1 Like