ScratchData LogoScratchData
Back to Snow-Cannon_Test's profile

Line Collision

SNSnow-Cannon_Test•Created July 14, 2018
Line Collision
18
9
189 views
View on Scratch

Description

Hi everyone! This is the product of several hours of work, trying to learn all about vectors, the math behind them, attempting to learn as much as I could, and using @java_programmers tutorial on the subject. While I could have used his script, it used several lists, different replacement scripts, etc. I wanted a single, local variable only script that would solve my problem of line collision, and I finally solved the problem. After reading the second tutorial, I got a much better understanding of the dot product and cross product. Please credit @java_programmer as well as myself for this block, as it was his mathematical solution that I used. Link to tutorial: https://scratch.mit.edu/projects/183594454 Link to other tutorial: https://scratch.mit.edu/projects/229216889 Use the block inside.

Project Details

Project ID236364845
CreatedJuly 14, 2018
Last ModifiedJuly 15, 2018
SharedJuly 14, 2018
Visibilityvisible
CommentsAllowed