ConvexBodyProximityQueries.jl VS JoltPhysics

Compare ConvexBodyProximityQueries.jl vs JoltPhysics and see what are their differences.

ConvexBodyProximityQueries.jl

A fast module for computing proximity queries between convex bodies in 2D/3D (by arlk)

JoltPhysics

A multi core friendly rigid body physics and collision detection library, written in C++, suitable for games and VR applications. (by jrouwe)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ConvexBodyProximityQueries.jl JoltPhysics
1 26
22 5,595
- -
1.8 9.6
over 2 years ago 2 days ago
Julia C++
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ConvexBodyProximityQueries.jl

Posts with mentions or reviews of ConvexBodyProximityQueries.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-09.
  • GJK: Collision detection algorithm in 2D/3D
    5 projects | news.ycombinator.com | 9 Mar 2022
    I should be writing a thesis about AI but got inside the collision rabbit hole so I have this fresh.

    From the description of the algorithm you are doing I think you are thinking about Lin-Canny or V-Clip, which certainly may have that kind of numerical error problems.

    GJK has also numerical problems but they are different. In principle it shouldn't be affected by coplanarity of several faces since you just need the vertex with highest support for a given direction. It could be a problem if you find the support point by hill climbing from vertex to vertex. GJK however does have numerical problems but they are of a different kind related to the degeneracy of the simplices it computes.

    But you are so right about the subtetly of the problem: there is a very fine thread between infinite looping and incorrect answers. I have been bitten by this trying to implement geometric algos. There should be a special hell for people that output coplanar faces.

    I know one of Bullet Physics/MuJoCo has the GJK, not remember which one. If anyone is curious I know of two Julia implementations:

    https://github.com/JuliaRobotics/EnhancedGJK.jl

    and my favorite: https://github.com/arlk/ConvexBodyProximityQueries.jl

    This latter one is great as you are just required to implement the support function and are ready to go. Julia performance is great if you are concerned about using a dynamic language (i.e: ~2us for collision between two convex bodies of 1000 faces each)

    Finally, about the convex hull computation it looks like some kind of solved problem, I mean, O(n log(n)) for 3D. Wrong!!!! QHull in this regard is fantastic as it has several heuristics to solve problems caused by finite precision, not to mention that I think worse case is O(n^2) as it doesn't implement the asymptotically optimal algo (not sure...). If you scale to more dimensions, which could happen even in if 3D because you transformed your problem to a convex hull problem you will be hit with O(n^2), bad news. There are several other libraries (CCD, LRSLib and more) that allow you to use arbitrary precision but you will get something like a 100x penalization for the luxury.

JoltPhysics

Posts with mentions or reviews of JoltPhysics. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-08.

What are some alternatives?

When comparing ConvexBodyProximityQueries.jl and JoltPhysics you can also consider the following projects:

BEPUphysics - Pure C# 3D real time physics simulation library, now with a higher version number.

GeometricAlgorithms - Geometric Algorithms implemented for Java Processing v3

tinyphysicsengine

EnhancedGJK.jl - GJK signed distance algorithm for convex bodies in Julia

Bullet - Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

clipper-lib - Boolean operations and offsetting library in Javascript

godot-jolt - Godot Jolt is a Godot extension that integrates the Jolt physics engine

Asteroid_game_with_physics - Asteroid game minimal working physics using GJK Algorithm on Java Processing v3.5

small3dlib

rapier - 2D and 3D physics engines focused on performance.

PhysX - NVIDIA PhysX SDK