8 个仓库
Methods for applying physical forces and instantaneous impulses to rigid bodies.
Distinct from Physics and Motion Dynamics: Distinct from general physics motion dynamics: focuses specifically on the API for applying forces and impulses to bodies.
Explore 8 awesome GitHub repositories matching user interface & experience · Force and Impulse Applications. Refine with filters or upvote what's useful.
LibGDX is a Java-based framework designed for cross-platform game development, enabling the creation and deployment of 2D and 3D games across desktop, mobile, and web environments from a single codebase. It functions as a comprehensive library that abstracts hardware-accelerated graphics, audio, input, and file system access, providing a unified interface for developers to manage game logic and application lifecycles. The framework distinguishes itself through a high-performance architecture that prioritizes efficiency and native interoperability. It utilizes a batch-oriented graphics pipelin
Provides methods to modify body velocity through gradual forces or instantaneous impulses.
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
Provides APIs to apply physical forces, gravity, and impulses to modify body behavior.
FlappySwift is a side-scrolling arcade game implementation built for Apple platforms. Developed using the Swift programming language, this 2D game project features a physics-based environment where a player controls a character to avoid obstacles. The project utilizes the SpriteKit framework to handle rigid body dynamics, gravitational forces, and sprite-based rendering. Game flow is managed through a state machine that controls transitions between the start menu, active gameplay, and game over screens. The implementation covers 2D physics simulation, including bounding-box collision detecti
Applies instantaneous upward impulses to the character's physics body in response to screen touch events.
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
Provides an API for applying linear forces, angular torques, and immediate impulses to rigid bodies.
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
Provides a portable API for applying Newtonian forces and instantaneous impulses to physics bodies.
Habitat-sim is a high-performance 3D simulation platform designed for training and benchmarking embodied AI agents within photorealistic indoor and outdoor environments. It serves as a simulator for AI and robotics, providing a system for generating synthetic data and simulating physical interactions. The project is distinguished by a native C++ core that enables high-throughput simulation and a rendering pipeline using physically based rendering and baked global illumination. It features a navigation system based on pre-computed navigation meshes to ensure collision-free traversal and a rigi
Exerts linear forces and torques on rigid objects to control movement and environmental effects.
Space Station 14 is a C# multiplayer game and roleplay simulation framework. It is built upon an Entity-Component-System (ECS) game engine that separates logic into systems and data into components to manage complex entity interactions. The project functions as a grid-based physics simulator with a YAML data-driven prototype system for defining game objects. The project features a specialized 2D sprite rendering engine that maps server-side appearance data to client-side shaders. It implements a networking model with client-side prediction and dirty-flagged state synchronization to reduce inp
Exerts ongoing external forces on physics bodies through controllers operating during physics simulation steps.
Cyclone Physics 是一款专为游戏开发设计的三维刚体物理引擎。它提供了一个框架,通过应用基本的力学定律来模拟固体物体的运动、旋转和物理交互。 该库利用离散时间积分在固定间隔内更新物体的位置和速度。它通过包围体层次结构(bounding volume hierarchy)管理复杂场景,并采用基于脉冲的碰撞解析来在接触期间保持动量。为了处理同时发生的交互,引擎使用迭代速度求解器,反复调整物体状态直到系统达到稳定。 该系统包含用于识别相交几何体之间接触点和表面法线的工具。这些功能允许计算防止物体穿透的校正脉冲,并在交互环境中模拟材料行为。
Calculates instantaneous changes in velocity for colliding bodies to prevent interpenetration while conserving linear and angular momentum.