-
Notifications
You must be signed in to change notification settings - Fork 295
Ammo Physics (3D Physics Extension) #1974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Wow! It's very cool and useful for people like me) |
Thank you! I've been making steady progress, but it probably won't be ready for a while (which is why this is a draft). |
|
Added partial support compound bodies - all child shape types. |
|
wow |
|
Finally got convex hulls working 🥳 🎉 video.mp4Still have to optimize and bug fix everything and add more features |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@GarboMuffin and/or @CubesterYT after merging upstream I'm getting this error when doing |
|
Oops meshes being weird |
video.movYeah I think it's working |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
That's an issue discussed in the documentation; you have to set restitution for both bodies (e.g., the reactor and the reactant).
Mass does do something. According to the rules of gravity, objects with more mass don't accelerate more quickly than those with lesser mass, so you might not see the effect in smaller scenes. Setting mass to 0 will make your body static, and the more mass a body is the "harder" it is to push (either with manual forces or those applied from other bodies interacting) (e.g., a force of 1 newton on a 0.1kg box will make the box go flying, but a force of 1 newton on a 50kg box might only move it a fraction of a meter) |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I?! |
This comment was marked as resolved.
This comment was marked as resolved.
Not sure what you mean by this |
|
@MasterThomas15 Your forces should be fixed in the latest commit, and I added a few new simulation utilities (get gravity/maxsubsteps and step simulation with user-provided parameters) |
This comment was marked as resolved.
This comment was marked as resolved.
|
The previous commit uses the new ESM stuff to do Tradeoff is that it doesn't seem to work in my version of the Desktop editor, which I don't think has been updated yet? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Alright bet thx so much |

Ammo Physics
A physics extension based on the ammo.js physics library, which is a direct port of the world-renowned C++ Bullet Physics SDK.
The goal is to provide feature-complete, advanced, and performant 3D physics in a simple-to-understand manner. This extension aims to be consistent with Box2D and Simple3D.
video.mp4
Task list:
[ ] Constraints (All types)Things I'm considering now or for a later update:
Debug rendering supportSoft BodiesMiscellaneous Notes Mainly for Moderators:
I'm not good at graphic design so if someone wants to make a banner/thumbnail that'd be greatStill have to incorporateScratch.Castwhere necessary, right now I'm just working on functionality thoughPut an emoji (👍, 🚀) if you like this extension