Comments (4)
Btw. the video plays for me in Edge, but not in Firefox.
from joltphysics.
- Can you maybe create a repro of this in the samples and send it to me? It looks like a bug, but I don't immediately see what it could be.
- The contact listener gives you both bodies that are colliding. The velocities of those bodies have not been modified at the time of the callback, so you can get them to calculate the impulse. The actual impulse depends on constraint solving and hasn't been calculated at that point yet, so you'll need to do an estimate.
- The difference between contact point 1 & 2 is that they're on the surface of both bodies. In an ideal case there won't be a penetration so the points will be the same, but when there is penetration, they will be different.
from joltphysics.
- I tried ... and then figured out that I still had a sensor in my scene that moved into the object and created the contact point. Sorry about that.
- Great idea. I don't need the real impulse, I only need something to make a guess about whether it's a light touch or a heavy impact, so that should work.
- Makes sense then. I guess I can only look at one of the arrays then. Maybe you want to add that as a comment to the code.
from joltphysics.
I added some extra documentation.
from joltphysics.
Related Issues (20)
- [Question] I intergrate JoltPhysics into my project with exception thrown HOT 1
- Is it possible to cast sphere ? HOT 2
- Misaligned ABI when using JPH_DOUBLE_PRECISION causes a problem on the VirtualCharacter HOT 13
- Slow HeightfieldShape Save/RestoreBinaryState HOT 2
- Poor performance with high amount of static colliders HOT 1
- Why the character cannot collide with the floor ? HOT 1
- [Feature Request] CharacterVirtual needs support for enhanced internal edge removal HOT 4
- Problem serializing/deserializing BodyCreationSettings with sRestoreWithChildren HOT 2
- GCC 14 inlining failed in call to always_inline HOT 2
- Annoying identical color HOT 2
- Assert hit on a scene without constraints w/ `JPH::TempAllocatorMalloc`. HOT 1
- [Question] How do I create a custom mesh from a list/array of vertices? HOT 1
- Unresolved external error when adding HelloWorld code to project HOT 3
- No CMAKE_CXX_COMPILER could be found on MacOS HOT 3
- MeshShape mMaxTrianglesPerLeaf assert HOT 1
- HingeConstraint does not behave as expected HOT 2
- -mfpmath=sse is not added in 32bits build HOT 10
- Kinematic `BoxShape` sensor versus `MeshShape` fails to report contacts HOT 5
- Sample CharacterTest.cpp HOT 1
- LinearCast Body missed in Sensor contact HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joltphysics.