ScratchData LogoScratchData
Back to GREEN-------'s profile

Separation Axis Theorem

GRGREEN-------•Created July 27, 2023
Separation Axis Theorem
1
0
7 views
View on Scratch

Instructions

A basic implementation of separation axis theorem which can tell if two convex polygons are colliding. Extremely useful for pen projects for when there are rotated objects. This should also be more accurate (but slower) than the if touching blocks. I'd recommend adding a broad phase before checking with SAT.

Project Details

Project ID877942410
CreatedJuly 27, 2023
Last ModifiedFebruary 17, 2024
SharedJuly 27, 2023
Visibilityvisible
CommentsAllowed