ruyo / VRM4U

Runtime VRM loader for UnrealEngine4
Other
1.3k stars 169 forks source link

【VRM cannot implement physics correctly】vrmは物理を正しく実装できません #393

Closed lizhimo closed 2 days ago

lizhimo commented 1 week ago

In UE5 and UE4, rigid body physics cannot be achieved for hair or wing parts, but it can be displayed normally in Unity

こんにちは、ue 5とue 4のヘア物理または翼の部位ではリジッドボディ物理を実現できませんが、Unityでは正常に表示できます

https://github.com/ruyo/VRM4U/assets/170388546/a5369131-78b1-4f85-b297-cc491276bc85

ruyo commented 4 days ago

Hi. The settings made by PhysicsAssest are simplified. It cannot reproduce the swing correctly. The swing bones need to use VRMSpringBone. When imported with the latest VRM4U plug-in, the VRMSpringBone is set by PostAnimBP. You can check with this.

lizhimo commented 4 days ago

1 2 3 99c43e936ee2d42c00ad0bc59d1b4acf I am using the latest version of VRM4U and I am not sure if the settings are correct. Some VRMs can be displayed normally and have good results, and I am not sure if it is a problem with the VRM file. However, these contents can be displayed correctly on Unity. Half of the bones cannot be physically displayed properly, and half of the physical display is rigid. The selected content is content that cannot be correctly swung. I provide the VRM file with the problem as follows

issues paper:https://drive.google.com/file/d/1EdMITWhwObveN1uqiMqNmQEZYjiOvfR2/view?usp=sharing

ruyo commented 4 days ago

Hi. Thanks for the data. This model has a branching bone specified for SpringBone. This is not a recommended configuration, so I suggest you modify the VRM model. Just to be sure, I will verify that it works the same way as in Unity.

image
lizhimo commented 2 days ago

Thank you, separate binding can indeed solve the above problem