p5.collide2D - 2d collision library for p5.js

  •        59

All p5.collide2D functions return true if the specified geometry is colliding and false if they are not.Enables collision debug mode. Draws an ellipse at the collision point between objects on screen where applicable and calculable.

https://github.com/bmoren/p5.collide2D

Tags
Implementation
License
Platform

   




Related Projects

Shapes Library

  •    CSharp

Shapes is a powerful library for XNA. It allows to easily create different kinds of shapes via code. It makes the game development much easier because it provides useful functionality like collision detection or movment along the outline of a shape. many samples are included.

SDL_Collide

  •    

SDL_Collide is a simple 2D collision detection library for SDL supporting pixel perfect collision tests between surfaces, bounding box collision checks and circle intersection routines.

gjk.c - Gilbert-Johnson-Keerthi (GJK) collision detection algorithm in 200 lines of clean plain C

  •    C

This is a rough but fast implementation of GJK collision detection algorithm in plain C. Just one C file, less then 200 lines, no dependencies. It is in 2D for now, full 3D version is upcoming... This 2D-version uses Minkowski sums and builds a triangle-simplex in Minkowski space to tell if two arbitrary convex polygons are colliding. 3D-version will be roughly the same, but will build a tetrahedron-simplex inside a 3-dimensional Minkowski space. It currently only tells if there is a collision or not. C-code for distance and contact points coming soon.Fuck licenses and copyright. I made it for learning purposes, this is public knowledge and it's absolutely free for any usage.

ncollide - 2 and 3-dimensional collision detection library in Rust

  •    Rust

ncollide is a 2 and 3-dimensional collision detection library written with the rust programming language. The official user guide is available here. The rustdoc documentation is available for 3D and for 2D.

VelcroPhysics - High performance 2D collision detection system with realistic physics responses.

  •    CSharp

It has been years since this code was last touched, and technology has moved a lot since. The code is currently under construction and subject to change. If you need a physics engine right now, please use the previous release. Velcro Physics is a high performance 2D collision detection system with realistic physics responses.


ncollide - 2 and 3-dimensional collision detection library in Rust

  •    Rust

ncollide is a 2 and 3-dimensional collision detection library written with the rust programming language. As its name suggests, it is generic wrt the dimension: it works with both 2-dimensional and 3-dimensional geometries. It might work with higher dimensions (never tried).

HC - General purpose collision detection library for the use with LÖVE.

  •    Lua

General purpose collision detection library for the use with LÖVE.

Ellipsoids(Quadrics) Collision Detection

  •    C++

The library currently consists of an implementation of collision detection of static/moving ellipsoids that exploits frame-coherence using separating planes. Please visit http://www.cs.hku.hk/GraphicsGroup/cd.html for paper references.

Intrepid 2D Game Library

  •    C++

Intrepid is an object-oriented 2D game programming library written in C++ utilizing OpenGL and SDL that takes care of the low-level programming involved in making 2D games.You can create nearly every kind of 2D game. Comes with collision-detection, phy..

p2.js - JavaScript 2D physics library

  •    Javascript

2D rigid body physics engine written in JavaScript. Includes collision detection, contacts, friction, restitution, motors, springs, advanced constraints and various shape types. These demos use the p2 Demo framework, which provides rendering and interactivity. Use mouse/touch to throw or create objects. Use the right menu (or console!) to tweak parameters. Or just check the source to see how to programmatically build the current scene using p2.

Cesium - An open-source JavaScript library for world-class 3D globes and maps

  •    Javascript

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.

eXeNAy

  •    

Exenay is a 2D engine, based on XNA, allowing you to easily create games without having to worry about rolling your own engine. No need to worry about implementing your own sprite objects, position vectors, sprite sheet animation manager, drawing methods, and much more. Exe...

cuid - Collision-resistant ids optimized for horizontal scaling and performance.

  •    Javascript

Collision-resistant ids optimized for horizontal scaling and binary search lookup performance.Currently available for Node, browsers, Ruby, .Net, Go, PHP and Elixir (see ports below -- more ports are welcome).

collision - Error Reporting for console/command-line PHP applications

  •    PHP

Collision was created by, and is maintained by Nuno Maduro, and is an error handler framework for console/command-line PHP applications. Phpunit must be 7.0 or higher.

XGate2D - XNA 2D Game Engine

  •    

XGate2D is 2D game engine built using XNA Framework. XGate2D currently has 8 features: input handler, animation, Graphical User Interface (GUI), collision detection, physics, particle system, tiling engine, and audio engine.

Flatland 2D Physics Library

  •    C++

Flatland is a simple cross-platform object-oriented 2D collision library. It presents a C++ interface to the Open Dynamics Engine physics SDK. Flatland does not handle graphics, but two sample programs are available, both of which use OpenGL.

xGSuite

  •    

The xGSuite (Created by: X - Game Suite) is a general collection of vb.net projects ranging from DirectX Graphics, HLSL, Simple Phisics, Game Console, Scene Management, Collision Detection, UI, device input, Tools/Utilities, and Game Engine Core. As well numerous example apps,...

Ovorp: Worlds Most Powerful 2D Game Eng.

  •    CSharp

The Ovorp Game Engine is: Client/Server Networking, Object Management, Full Hardware Acceleration, Raytraced Collision Detection, Native C#/.Net Game Objects, Cross-Platform, Scalable from Pong to a MMPOG, MIT Licensed to encourage commercial development

ColDet.Net

  •    VBNET

ColDet.Net is an open source library for enabling .NET developers to use the highly effective ColDet collision detection library (http://coldet.sourceforge.net)