All Projects → rustgd → Collision Rs

rustgd / Collision Rs

Licence: apache-2.0
A collision extension to cgmath

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Collision Rs

TriangleMeshDistance
Header only, single file, simple and efficient C++11 library to compute the signed distance function (SDF) to a triangle mesh
Stars: ✭ 55 (-45.54%)
Mutual labels:  collision-detection
Bounce
Bounce is a 3D physics engine for games.
Stars: ✭ 300 (+197.03%)
Mutual labels:  collision-detection
Fcl
Flexible Collision Library
Stars: ✭ 701 (+594.06%)
Mutual labels:  collision-detection
SmartTrafficIntersection
Another AI toy project, of a traffic intersection controlled by a Reinforcement Learning AI agent to optimize traffic flow in an intersection of vehicles or pedestrians
Stars: ✭ 30 (-70.3%)
Mutual labels:  collision-detection
Cute headers
Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
Stars: ✭ 3,274 (+3141.58%)
Mutual labels:  collision-detection
Rl
The Robotics Library (RL) is a self-contained C++ library for rigid body kinematics and dynamics, motion planning, and control.
Stars: ✭ 391 (+287.13%)
Mutual labels:  collision-detection
LockstepCollision
A deterministic collision lib for lockstep
Stars: ✭ 51 (-49.5%)
Mutual labels:  collision-detection
Leaflet.layergroup.collision
Leaflet plugin for uncluttering L.Markers using basic collision detection.
Stars: ✭ 82 (-18.81%)
Mutual labels:  collision-detection
P5.collide2d
A collision detection library for 2D geometry in p5.js
Stars: ✭ 296 (+193.07%)
Mutual labels:  collision-detection
Gjk.c
Gilbert-Johnson-Keerthi (GJK) collision detection algorithm in 200 lines of clean plain C
Stars: ✭ 660 (+553.47%)
Mutual labels:  collision-detection
Pancake
Lightweight, Fast, Easy-to-use HTML5 2D game framework!
Stars: ✭ 79 (-21.78%)
Mutual labels:  collision-detection
Gamedevelopmentlinks
This is a collection of useful game-development links including, but not restricted to, development with MonoGame.
Stars: ✭ 257 (+154.46%)
Mutual labels:  collision-detection
Exengine
A C99 3D game engine
Stars: ✭ 391 (+287.13%)
Mutual labels:  collision-detection
WordCloud.jl
word cloud generator in julia
Stars: ✭ 66 (-34.65%)
Mutual labels:  collision-detection
Reactphysics3d
Open source C++ physics engine library in 3D
Stars: ✭ 730 (+622.77%)
Mutual labels:  collision-detection
unity-animated-convexhull
Realtime fast convexhull generator for Unity
Stars: ✭ 40 (-60.4%)
Mutual labels:  collision-detection
Dyn4j
Java Collision Detection and Physics Engine
Stars: ✭ 317 (+213.86%)
Mutual labels:  collision-detection
Spatial Collision Datastructures
Benchmark of various spatial data structures for collision detection.
Stars: ✭ 96 (-4.95%)
Mutual labels:  collision-detection
Rappids
Rectangular Pyramid Partitioning using Integrated Depth Sensors (RAPPIDS): A Fast Planner for Multicopter Navigation
Stars: ✭ 17 (-83.17%)
Mutual labels:  collision-detection
Awesome Collision Detection
😎 A curated list of awesome collision detection libraries and resources
Stars: ✭ 444 (+339.6%)
Mutual labels:  collision-detection

collision-rs

Build Status Documentation Version License Downloads Join the chat

This library is an extension of cgmath that provides collision detection primitives, bounding volumes and collision detection algorithms.

The library provides:

  • a generic ray: Ray
  • a plane type: Plane
  • a view frustum: Frustum
  • axis-aligned bounding boxes: Aabb2, Aabb3
  • oriented bounding boxes: Obb2, Obb3
  • additional bounding volumes: Sphere, Cylinder
  • collision primitives: Sphere, Circle, Rectangle, Cuboid, Particle, Convex Polygon, Convex Polyhedra
  • a dynamic bounding volume tree (DBVT)
  • broad phase collision detection: Brute Force, Sweep and Prune
  • discrete narrow phase collision detection: GJK (including EPA for manifold computation)
  • continuous narrow phase collision detection: GJK
  • convex shape distance computation: GJK

Not all of the functionality has been implemented yet, and the existing code is not fully covered by the testsuite. If you encounter any mistakes or omissions please let us know by posting an issue, or even better: send us a pull request with a fix.

License

Licensed under either of

at your option.

Contributing

Use CONTRIBUTING.md for futher information.

Pull requests are most welcome, especially in the realm of performance enhancements and fixing any mistakes. Unit tests and benchmarks are also required, so help on that front would be most appreciated.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].