## Search found 16 matches

Thu Nov 07, 2019 2:07 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 8
Views: 2226

### Re: Boucing with sequential impulse

Without warm-starting the solver can take lots of iterations to converge. For this reason you should consider using warm-starting. FYI one of the main reasons for a simulation to blow up is a bad choice of integrator. Semi-impicit Euler is stable for non-stiff equations. If your simulation is explod...
Mon Nov 04, 2019 4:02 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 8
Views: 2226

### Re: Boucing with sequential impulse

Well, one problem in the code you posted is that it solves the tangent and normal constraints independently. I don't think this is correct. The friction forces depend on the normal forces. Therefore, you should solve a tangent constraint followed by a normal constraint or vice-versa since constraint...
Tue Oct 15, 2019 3:42 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 8
Views: 2226

### Re: Boucing with sequential impulse

Your math seems to be correct. There is probably a small problem in your code. Maybe a sign problem or something like this.

https://github.com/erincatto/box2d-lite

https://github.com/erincatto/Box2D
Tue Jul 30, 2019 5:00 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: State of the art cloth simulation
Replies: 5
Views: 1204

### Re: State of the art cloth simulation

It's worth mentioning that there is a book about cloth simulation that was released recently. The author announced the book release in this thread last year: https://pybullet.org/Bullet/phpBB3/viewtopic.php?f=6&t=12356 I don't own one, but it seems a good book, and it has some math. The part about a...
Tue Jul 30, 2019 4:53 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: State of the art cloth simulation
Replies: 5
Views: 1204

### Re: State of the art cloth simulation

You're welcome. A. Rony Goldenthal's PhD is called "Implicit Treatment of Constraints for Cloth Simulation". If I am not mistaken this paper is not available online. Send me a PM asking for the paper and I can send you the paper. For collision detection between cloth and arbitrary convex/concave mes...
Fri Jul 26, 2019 4:03 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: State of the art cloth simulation
Replies: 5
Views: 1204

### Re: State of the art cloth simulation

Then there is corotational FEM which can be done realtime. The algorithm complexity of this solver is dominated by the CG method as in David Baraff's cloth solver. As in cloth simulation, a good idea to a FEM based solver is to first perform a internal dynamics step. Then solve velocity and position...
Thu Jul 25, 2019 5:47 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: State of the art cloth simulation
Replies: 5
Views: 1204

### Re: State of the art cloth simulation

A commonly used approach in the industry is the continuum approach described in the paper of David Baraff. https://www.cs.cmu.edu/~baraff/papers/sig98.pdf However, some forces like the shear (and bend) force can introduce problems into the linear system described above if included incorrectly so it ...
Thu Jun 08, 2017 2:31 pm
Forum: Links, Papers, Libraries, Demos, Movies, Comparisons
Topic: Bounce: A 3D Physics Engine for Games
Replies: 0
Views: 3679

### Bounce: A 3D Physics Engine for Games

Link https://github.com/irlanrobson/bounce/ About Bounce is a 3D physics engine for games. It supports many different features. It was released a few months ago but had not been published properly. For those not worried about Continuous Collision and Soft Bodies, it can be used as an alternative to...
Mon Oct 31, 2016 5:56 pm
Forum: General Bullet Physics Support and Feedback
Topic: GJK Algorithm for Quadcopter Collision Detection
Replies: 6
Views: 5167

### Re: GJK Algorithm for Quadcopter Collision Detection

In my opinion the GJK presentation by Erin Catto and its source code on the Box2D repository are the best resources available for understanding and implementing the GJK algorithm in 2D. If you need GJK in 3D I recommend the source code I posted. It is basically a 3D version of Box2D's. Here is Erin'...
Sun Oct 30, 2016 1:31 am
Forum: General Bullet Physics Support and Feedback
Topic: GJK Algorithm for Quadcopter Collision Detection
Replies: 6
Views: 5167

### Re: GJK Algorithm for Quadcopter Collision Detection

wyattsmcall1, I'm not a big fan of throwing my collision modules away but will make an exception here. I attached the GJK submodule that belongs to the collision module of Bounce, a physics engine I've been working on since some months ago. It uses barycentric coordinates and Voronoi regions to find...
Wed May 18, 2016 5:53 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Numerical issues with GJK for large triangle areas
Replies: 8
Views: 4877

### Re: Numerical issues with GJK for large triangle areas

Yeah, same thing here. Thanks.
Wed May 18, 2016 4:06 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Numerical issues with GJK for large triangle areas
Replies: 8
Views: 4877

### Re: Numerical issues with GJK for large triangle areas

Yeah. Obviously if the contact point doesn't align with the center of mass of Sphere 1 because of rouding errors being accumulated when projecting its center on the triangle, and if Sphere 2 does, then the latter will start sliding after some significant amount of time has passed.
Wed May 18, 2016 1:05 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Numerical issues with GJK for large triangle areas
Replies: 8
Views: 4877

### Re: Numerical issues with GJK for large triangle areas

Okay, I tested the stack on a hull and now with the sphere stack starting from a different location, and looks like a numerical problem due to GJK barycentrics. If anyone is able to reproduce this same setup and post back the results I'd greatly appreciate and set this thread as solved. Box (Hull) P...
Tue May 17, 2016 9:22 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Numerical issues with GJK for large triangle areas
Replies: 8
Views: 4877

### Re: Numerical issues with GJK for large triangle areas

The support point is just the sphere center. I'm pretty sure the implementation is correct as it is has been working very well since implemented. I just need to know if this is a common numerical problem for GJK (large shape sizes). I've read about this in the forums some weeks ago but can't remembe...
Mon May 16, 2016 12:58 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Numerical issues with GJK for large triangle areas
Replies: 8
Views: 4877

### Numerical issues with GJK for large triangle areas

I've noticed that my GJK implementation is suffering from numerical issues for a 3-simplex early out (e.g. the closest point is on a triangle), where the shapes involved are a sphere and a triangle. What made me notice this was a vertical stack of 10 spheres falling over the following static triangl...