3 个仓库
An algorithm for detecting intersections between convex polygons by projecting them onto potential separating axes.
Distinguishing note: Candidates refer to data, audio, or network separation, not geometric collision detection algorithms.
Explore 3 awesome GitHub repositories matching game development · Separating Axis Theorem Collisions. Refine with filters or upvote what's useful.
Matter-js is a 2D rigid body physics engine written in JavaScript for simulating realistic physical interactions, collisions, and dynamics in web browsers. It functions as a web physics simulation library that calculates motion, gravity, and constraints for objects rendered on a web canvas. The library includes a built-in canvas physics visualizer to draw physical bodies, joints, and constraints for debugging and gameplay. It distinguishes itself through a plugin system that supports recursive dependency resolution and internal method patching to inject custom logic into the engine's executio
Detects intersections between convex polygons by checking for overlapping projections along potential separating axes.
melonJS is a lightweight HTML5 game engine for building 2D games in the browser using JavaScript. It provides a complete framework for sprite animation, tilemap loading, physics simulation, input handling, and audio playback, with a unified rendering system that automatically switches between WebGL and Canvas2D backends without code changes. The engine distinguishes itself through several integrated capabilities. It features a per-sprite shader pipeline for custom fragment shader effects, a SAT-based collision engine with swappable physics adapters (including built-in SAT, Matter.js, and Plan
Implements a SAT-based collision engine with polygon-accurate detection, spatial partitioning, and raycasts.
cannon.js 是一个 JavaScript 3D 物理引擎,旨在计算三维空间中的刚体动力学和碰撞。它作为一个刚体动力学引擎,对质量、摩擦力和速度进行建模以确定物体运动,同时为应用物理约束和关节提供了数学框架。 该引擎支持多种碰撞体积,包括球体、盒子、凸多面体、用于地形模拟的高度场以及复杂的三角形网格。它提供了用于识别这些形状之间交集并计算物理交互接触精确区域的工具。 该系统涵盖了广泛的模拟功能,包括用于计算网格属性的几何分析、应用物理约束以创建机械装配,以及将物理模拟数据与外部 3D 网格同步以进行可视化。
Implements the Separating Axis Theorem to detect intersections between convex 3D shapes.