Skip navigation

Distance between two objects

Distance between two objects: Game Development Foundations: Game-Related Math
Distance between two objects: Game Development Foundations: Game-Related Math

In this video, learn how to detect the distance between two objects. This is useful when you want an enemy to react to the player based on how close they are.

Resume Transcript Auto-Scroll
Skill Level Beginner
52m 47s
Duration
11,444
Views
Show More Show Less
Skills covered in this course
Developer Games JavaScript

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now