Steering Behaviors: Seek


In a Nutshell

Important to Understand

3D Math


A 2d plane has been superimposed on the world like tracing paper and now we have the location of home and the store on the 2D plane.


This vertical line could have been drawn anywhere on the plane if we didn’t need the hypotenuse and it was only used to represent the time .As long as it started on the same horizontal line as home and ended on the same horizontal line as store.
If this was read-only the line would be used as a measure of the change in time. But we want more from our data, we want to find how fast the car traveled in that amount of time to get to the store. Which is why we connect the vertical line to the start point and connect it’s end to the destination, which forms a triangle.
This is correct
This is correct too. As long as you maintain the integrity of the right angled triangle with the y-axis drawn vertically, the x-axis parallel horizontal. The hypotenuse becomes the line connecting the end of the time taken vertex to the store or home vertex. Resulting in a connection.

The hypotenuse of a right-angled triangle can be used in many mathematical questions. For our needs we will use it to represent velocity. This is because velocity is a mathematical idea forming an arrow that is made up of magnitude and direction, which are made up by run/rise which result in a hypotenuse via pythagorus.

Calculus, we are here

How It’s Done

The velocity vector is sliced into small components via normalizing the vector. This results in a unit vector or vector with a length of 1 or less. We take this vector and convert it to a hypotenuse, which allows us to access the x and y components which are added to the current position and used to find the final position.

Calculus and Basic Maths


Adding Forces

Giving chase

Slow your roll

Steering Force

To Be Continued…




ACCIO LUMOS. Game Developer. Computer Scientist. Fur baby Momma. Yoga Teacher. Ice Cream Connoisseur. Socks Enthusiast.

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

Recommended from Medium

Understanding Expected Value

Tribute Function

Finding Approximate Integer Fraction Representations of Decimal Numbers

Data Science Pioneers: Khayyam

Probability: classical, frequentist and subjective approach

Turbocharging Derivatives — Variance, Convexity, and Everything in Between

Bayes’ theorem

Significance Of Combinatorics and Discrete Probability In Today’s World

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
Naleli Grace Lweendo

Naleli Grace Lweendo

ACCIO LUMOS. Game Developer. Computer Scientist. Fur baby Momma. Yoga Teacher. Ice Cream Connoisseur. Socks Enthusiast.

More from Medium

Entropy (Shannon Claude)

Independent events and the way we can have a slight advantage in predicting them

Ethical AI: What it is and why you should care?

ADN: A Crazy Complicated Deep Learning Network that May Reduce Data Annotation Efforts Needed.