ScratchData LogoScratchData
Back to haruni459's profile

66 Blocks Line Collision (remix)

HAharuni459•Created December 16, 2022
66 Blocks Line Collision (remix)
9
9
116 views
View on Scratch

Instructions

Drag around dots! Test the intersection of the line segments, AB and CD. |AB x AC|*|AB x AD|<0 and |CD x CA|*|CD x CB|<0 (x for outer product, * for multiplication)

Description

This method avoids the illegal math, division by zero(x1=x2 or x3=x4 case). The original project was made by @moonhayul https://scratch.mit.edu/projects/765609110/editor/ #math #line #segment #intersection #condition #collision

Project Details

Project ID777811482
CreatedDecember 16, 2022
Last ModifiedDecember 17, 2022
SharedDecember 17, 2022
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root