GithubHelp home page GithubHelp logo

Comments (14)

noname0310 avatar noname0310 commented on July 21, 2024

Physics has not yet been implemented properly and is just operational.

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

The solution currently available is physics bake and is available using NexGiMa.

https://sites.google.com/view/nexgima/Home

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

Related bug:
https://forum.babylonjs.com/t/havok-physics-rigidbody-dont-move-when-the-damping-values-of-several-bodies-are-different/43072/2

In the next release(0.23.0), the physics will probably work on most models

from babylon-mmd.

spencer17x avatar spencer17x commented on July 21, 2024
image

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

update @babylonjs/havok to 1.1.2 and @babylonjs/core to 6.15.0

from babylon-mmd.

spencer17x avatar spencer17x commented on July 21, 2024

same problem.

2023-08-08.16.57.39.mov

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

I'll let you know when there's another improvement.

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

babylon-mmd 0.24.0 is released now. see CHANGELOG.md

from babylon-mmd.

spencer17x avatar spencer17x commented on July 21, 2024
2023-08-17.11.37.24.mov

Perhaps the problem remains.

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

There will be more improvements in the future.

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

There was an improvement in the 0.27.0 release. Give that a try.

from babylon-mmd.

spencer17x avatar spencer17x commented on July 21, 2024

Or has it already been solved?

2023-09-19.10.44.56.mov

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

If you think it produces usable results, use it.

I am not sure how to exactly reproduce the results of bullet physics(which used by mmd) with havok.

from babylon-mmd.

noname0310 avatar noname0310 commented on July 21, 2024

The ammo.js physics backend will be available from babylon-mmd 0.42.0.
Although ammo.js is not very good performance, you will get very similar results to mmd.

The usage is the same as before, see this test code
https://github.com/noname0310/babylon-mmd/blob/main/src/Test/Scene/physicsTestScene.ts#L63
https://github.com/noname0310/babylon-mmd/blob/main/src/Test/Scene/physicsTestScene.ts#L111-L113

from babylon-mmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.