Tagged articles
4 articles
Page 1 of 1
Architecture Development Notes
Architecture Development Notes
Dec 1, 2024 · Game Development

Building a Rust Physics Engine with SAT Collision Detection

This article walks through creating a Rust physics engine by implementing collision detection using the Separating Axis Theorem, covering point extraction, vector math, projection, overlap checks, and handling both rectangle‑rectangle and circle‑square collisions with complete code examples.

SATcollision detectionphysics engine
0 likes · 8 min read
Building a Rust Physics Engine with SAT Collision Detection
Aotu Lab
Aotu Lab
Aug 19, 2021 · Game Development

Building a Game Physics Engine: Core Math, Vectors, and Newton’s Laws Explained

This article introduces the fundamentals of a game physics engine, covering the concept of engines, essential mathematics like vectors and calculus, TypeScript implementations for vector operations, and the integration of Newtonian mechanics such as mass, inverse mass, and basic object properties.

game physicsphysics enginevector math
0 likes · 10 min read
Building a Game Physics Engine: Core Math, Vectors, and Newton’s Laws Explained
WecTeam
WecTeam
Aug 30, 2019 · Game Development

Mastering 2D Collision Detection: Vectors, AABB, OBB, and JavaScript Implementations

This article explains how to use simple shapes like circles and rectangles for fast 2D collision detection, reviews vector mathematics, provides a reusable Vector2d class with operations such as addition, subtraction, length, dot product and rotation, and shows concrete JavaScript code for circle‑circle, circle‑rectangle (both axis‑aligned and rotated) and rectangle‑rectangle collisions using AABB and OBB techniques.

2D GameAABBJavaScript
0 likes · 19 min read
Mastering 2D Collision Detection: Vectors, AABB, OBB, and JavaScript Implementations