Missile Collision

Updated on February 14, 2018 in [A] Brackeys Courses
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
4 on February 11, 2018

In Brackeys Homing Missile Video He Taught Us How To Make A Homing Missile I Was Hoping To Make It So It Would Reset The Scene On Collision With My Player. I Have Tried Online Tutorials But They Dont Seem To Work. Keep In Mind I Am A Very Beginner Coder.

  • Liked by
Reply
0 on February 11, 2018
UnityEngine.SceneManagement.SceneManager.LoadScene(UnityEngine.SceneManagement.SceneManager.GetActiveScene().name);

 

Just drop this in wherever you kill the player

  • Liked by
Reply
Cancel
2 on February 11, 2018

what do you mean drop this in where you kill the player there is no kill script?

again sorry very beginner

on February 12, 2018

In code, wherever you check to see if the missile has hit the player.

 

on February 14, 2018

Thank You Very Much You Have Helped Me Alot Have A Nice Day 🙂

Show more replies
  • Liked by
Reply
Cancel