awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
erincatto avatar

erincatto/box2d

0
View on GitHub↗
9,505 स्टार्स·1,737 फोर्क्स·C·mit·9 व्यूज़box2d.org↗

Box2d

Box2D is a 2D physics engine and rigid body simulator designed to compute collisions, forces, and joints in a two-dimensional plane. It functions as a collision detection library and a constraint-based physics solver that calculates the movement and interaction of solid objects using mass, friction, and restitution properties.

The engine ensures consistency across different hardware architectures through a deterministic trigonometry implementation. It prevents high-speed objects from passing through boundaries using continuous collision detection and time-of-impact interpolation.

The system covers rigid body dynamics and constraint-based animation, allowing bodies to be connected via joints and motors. It includes tools for spatial querying, ray casting, and sensor overlap detection, alongside a solver that manages iterative impulse integration and object penetration prevention.

Users can customize the simulation through length scaling configuration and a custom memory allocator to manage memory usage for performance tuning.

Features

  • 2D Rigid Body Physics Engines - Provides a comprehensive engine for calculating realistic physical interactions, collisions, and dynamics for 2D objects.
  • Collision Detection - Identifies intersections between physical shapes using continuous detection and filtering systems.
  • Penetration Prevention - Generates contact constraints to stop bodies from overlapping while simulating friction and restitution.
  • Body Type Definitions - Defines physical objects as dynamic, static, or kinematic to determine how they react to forces.
  • Continuous Collision Detection - Prevents high-speed objects from passing through boundaries using bullet-mode marking and continuous detection.
  • Physical Material Properties - Provides definitions for physical characteristics like density and friction that determine how bound shapes interact.
  • Mass Property Calculation - Computes the mass, centroid, and rotational inertia for a shape to determine force reactions.
  • Fixture Shape Definitions - Provides interfaces for constructing collision geometries using circles, polygons, edges, and chains.
  • Mechanical Constraints - Provides tools for linking and constraining the movement of physical bodies through joints and motors.
  • Mechanical Joint Constraints - Holds multiple bodies together using joints that support limits and motors to control relative motion.
  • Physics World Management - Initializes the simulation environment with gravity and manages the lifecycle of all bodies and shapes.
  • Deterministic State Simulation - Ensures consistent simulation results across different hardware architectures using a deterministic trigonometry implementation.
  • Sequential Impulse Solvers - Uses an iterative sequential impulse solver to resolve constraints and update object velocities for physical stability.
  • Time-of-Impact Interpolations - Prevents high-speed objects from passing through boundaries by calculating the exact moment of first contact.
  • Force and Impulse Applications - Provides an API for applying linear forces, angular torques, and immediate impulses to rigid bodies.
  • Contact Event Systems - Allows toggling reporting for hit events and sensor overlaps for specific shapes.
  • Game Physics Integration - Integrates physics simulation to handle collisions, trigger sensors, and forces within a game world.
  • Simulation Event Triggers - Sends notifications for body movement and contact interactions so applications can react to changes.
  • Continuous Collision Detection - Uses time-of-impact interpolation to ensure fast-moving objects do not pass through each other.
  • Spatial Partitioning Systems - Implements spatial partitioning to optimize collision detection by pruning distant objects using axis-aligned bounding boxes.
  • Physical Body Management - Adjusts gravity scaling and damping to control movement and determine when objects enter a sleep state.
  • Rigid Body Transform Management - Handles rotation and translation of objects and computes relative transformations between different coordinate frames.
  • Collision Event Handlers - Collects deterministic lists of hit events after a time step to handle collision logic.
  • Collision Notification Filters - Provides bitmasks and group indices to filter which physical shapes should interact or be ignored.
  • Overlap Detection - Retrieves lists of shapes overlapping sensors or specific points where shapes touch.
  • Ray and Shape Casting - Deno Physics detects intersections by projecting a ray or moving shape through space to find the first point of contact.
  • Spatial Querying Systems - Locates objects using bounding box queries or ray casts to detect overlaps and find targets in the world.
  • Degrees of Freedom Restriction - Creates physical connections that remove degrees of freedom to simulate pinned points or restricted motion.
  • Collision Edge Chains - Deno Physics constructs connected line segments to create complex boundaries or terrain for objects to collide with.
  • Kinematic Motion Control - Sets target transforms for kinematic bodies to calculate the necessary velocity to reach a position.
  • Deterministic Calculation Utilities - Uses a custom deterministic trigonometry implementation to ensure consistent simulation results across different hardware platforms.
  • Contact Pre-Solve Modifications - Intercepts collision data via a callback before the solver runs to customize or disable specific physical interactions.
  • Sensor Overlap Detections - Identifies when objects enter or exit trigger areas defined as sensors to separate trigger logic from physical contact.
  • Physics and Simulation - Battle-tested 2D physics for games.
  • Physics Simulation - 2D physics engine for games.

स्टार हिस्ट्री

erincatto/box2d के लिए स्टार हिस्ट्री चार्टerincatto/box2d के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Box2d के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Box2d के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • liabru/matter-jsliabru का अवतार

    liabru/matter-js

    18,256GitHub पर देखें↗

    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

    JavaScriptcanvasjavascriptphysics
    GitHub पर देखें↗18,256
  • jrouwe/joltphysicsjrouwe का अवतार

    jrouwe/JoltPhysics

    9,685GitHub पर देखें↗

    JoltPhysics is a high-performance C++ physics engine designed for multi-threaded simulation of 3D rigid bodies and soft bodies. It serves as a deterministic simulation framework, ensuring identical results across different platforms and architectures to support networked synchronization. The engine distinguishes itself through a focus on concurrent execution across multiple CPU cores to handle large numbers of active bodies. It provides specialized systems for vehicle physics, including wheeled and tracked models, as well as soft body physics for deformable objects and cloth. The simulation

    C++c-plus-pluscppgame-development
    GitHub पर देखें↗9,685
  • schteppe/cannon.jsschteppe का अवतार

    schteppe/cannon.js

    4,979GitHub पर देखें↗

    cannon.js is a JavaScript 3D physics engine designed for calculating rigid body dynamics and collisions in three-dimensional space. It functions as a rigid body dynamics engine that models mass, friction, and velocity to determine object movement, while providing a mathematical framework for applying physical constraints and joints. The engine supports a variety of collision volumes, including spheres, boxes, convex polyhedrons, heightfields for terrain simulation, and complex triangle meshes. It provides tools for identifying intersections between these shapes and calculating the exact areas

    JavaScript
    GitHub पर देखें↗4,979
  • google-deepmind/mujoco_menageriegoogle-deepmind का अवतार

    google-deepmind/mujoco_menagerie

    3,055GitHub पर देखें↗

    mujoco_menagerie is a curated library of physical robot specifications and XML model definitions designed for standardized dynamics and contact simulation. It provides a collection of high-quality robot model files for humanoids, quadrupeds, and manipulators, alongside detailed kinematic and inertial parameters used to reproduce real-world robot behavior in virtual environments. The project serves as a repository of robotics simulation assets and MJCF model definitions optimized for accuracy. It includes standardized model libraries specifically for bipedal, quadrupedal, and humanoid hardware

    Pythonmujocorobotics
    GitHub पर देखें↗3,055
Box2d के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

erincatto/box2d क्या करता है?

Box2D is a 2D physics engine and rigid body simulator designed to compute collisions, forces, and joints in a two-dimensional plane. It functions as a collision detection library and a constraint-based physics solver that calculates the movement and interaction of solid objects using mass, friction, and restitution properties.

erincatto/box2d की मुख्य विशेषताएं क्या हैं?

erincatto/box2d की मुख्य विशेषताएं हैं: 2D Rigid Body Physics Engines, Collision Detection, Penetration Prevention, Body Type Definitions, Continuous Collision Detection, Physical Material Properties, Mass Property Calculation, Fixture Shape Definitions।

erincatto/box2d के कुछ ओपन-सोर्स विकल्प क्या हैं?

erincatto/box2d के ओपन-सोर्स विकल्पों में शामिल हैं: liabru/matter-js — Matter-js is a 2D rigid body physics engine written in JavaScript for simulating realistic physical interactions,… jrouwe/joltphysics — JoltPhysics is a high-performance C++ physics engine designed for multi-threaded simulation of 3D rigid bodies and… schteppe/cannon.js — cannon.js is a JavaScript 3D physics engine designed for calculating rigid body dynamics and collisions in… google-deepmind/mujoco_menagerie — mujoco_menagerie is a curated library of physical robot specifications and XML model definitions designed for… avianphysics/avian — Avian is a 2D physics engine and rigid body dynamics simulator designed to calculate physical motion using mass,… dimforge/rapier — Rapier is a cross-platform physics engine and rigid body dynamics solver designed for 2D and 3D simulations. It…