Math in Unity : Intersections (Part I)

A + vt = B + us

vt = B - A + us

vt = c + us

(3 * -8) + (8 * 3) = -24 + 24 = 0

v perp Dot u = (3 * 2) + (8 * 4) = 6 + 32 = 38

-u perp Dot v = (8 * 4) + (-2 * -3) = 32 + 6 = 38

--

--

--

Always in love with programming, even if late (I'm already 39 years old) I decided to follow my dream! We will see how far my passion will take me!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Aryabhatta’s System of Numeration

The Possibilities

The Coriolis Force, Part 2

Boyer Moore Voting Algorithm — In plain English

22–23 Jan

Wittgenstein Didn’t Absolutely Agree with Gödel’s Theorems and Russell’s Paradox (and he was right)

Maths is Graphs — A Visual Perspective

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matteo Lo Piccolo

Matteo Lo Piccolo

Always in love with programming, even if late (I'm already 39 years old) I decided to follow my dream! We will see how far my passion will take me!

More from Medium

Drawing rectangles

Enemy Melee Attack

Intro Physics with Unity

In-depth Analysis of Unity Loading Module Ⅱ: Shader