packages/app/swept_aabb_collisions
s

swept_aabb_collisions

v717abbaapp

A simple demo of collision detection between two AABBs using the Swept AABB algorithm

0 stars0 forksMITupdated 2 years ago
Open repo

Swept AABB Collision Detection

A simple demo of swept AABB collision detection.

Inspired by and loosely based on Dylan Falconer's Engine From Scratch Episode 08 video (Source code).

I also referenced the Swept AABB Collision Detection and Response article, but as it stands now, this demo doesn't implement any sort of deflection or sliding. Maybe I will do it later though.

Usage

Requires the Odin compiler. Im using the version dev-2024-07-nightly:b4ca044

Clone/dowload the source code:

git clone https://github.com/ethanavatar/swept_aabb_collisions.git

And use odin run in the source directory to run the demo:

# Change directory
cd swept_aabb_collisions

# Run the demo
odin run . --

Demo

Package Info
Version
v717abba
License
MIT
Author
@ToriDoesntExist
Type
app
Forks
0
Created
2 years ago
Updated
2 years ago
Health
maintained
has releases
has readme
has license
Activity
last 56 weeks