video thumbnail 13:36
Introduction to Game Development (E08: movement)

2016-04-27

[public] 113K views, 3.59K likes, 13.0 dislikes audio only

Welcome to episode eight of this introduction to game development in Unity with C#.

In this episode we use our knowledge of vectors from the previous episode to get a sphere chasing a cube.

Project files:

https://github.com/SebLague/Intro-to-Gamedev/tree/master/Episode%2008

If you'd like to support these videos, you can make a recurring monthly donation (cancellable at any time) through Patreon: http://bit.ly/sebPatreon

Or a once-off donation through PayPal:

http://bit.ly/SupportGamedevTutorials

Should you wish to contribute subtitles to this video, you can do so here: http://www.youtube.com/timedtext_video?v=nWuekr5rUcg&ref=share


multiply the velocity by a delta time the number of seconds
/youtube/video/nWuekr5rUcg?t=48.879002
attach our player script to that object
/youtube/video/nWuekr5rUcg?t=157.41
pass in values for the x y & z axes
/youtube/video/nWuekr5rUcg?t=211.14
get the horizontal input
/youtube/video/nWuekr5rUcg?t=244.41
vertical input for the z axis
/youtube/video/nWuekr5rUcg?t=302.47
use the transform dot translate method
/youtube/video/nWuekr5rUcg?t=426.70001
introduce a new object to chase
/youtube/video/nWuekr5rUcg?t=447.76001
create a public transform variable
/youtube/video/nWuekr5rUcg?t=476.23001