ScratchData LogoScratchData
Back to orangeorb_test's profile

Pen Collision Detection

ORorangeorb_test•Created June 20, 2020
Pen Collision Detection
9
6
205 views
View on Scratch

Instructions

Change the type for different collision tests: 1 – check if to squares are touching 2 – check if a square and a rectangle are touching 3 – check if two circles are touching The custom block for these is as simple as possible. If you use, please give credit.

Description

– This is, technically speaking, mobile friendly! – I will be coming out with a second version replacing the square with a circle. (Circles are not more useful in most cases, its just that you need a bit of extra math that I haven't learned yet for the corners.)

Project Details

Project ID406494991
CreatedJune 20, 2020
Last ModifiedJune 21, 2020
SharedJune 21, 2020
Visibilityvisible
CommentsAllowed