How to make a Video Game in Unity - COLLISION (E05)

preview_player
Показать описание
What happens when stuff collides? Let's take a look!

····················································································

This video is part of a mini-series on making your first game in Unity.

····················································································

········································­­·······································­·­····

► All content by Brackeys is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making the content free of charge.

········································­­·······································­·­····
♪ Baby Plays Electro Games
Рекомендации по теме
Комментарии
Автор

Anyone notice how as the series goes on there is less and less views because people give up but great videos I love them

blyatman
Автор

Hope this series booms during quarantine!

davidslivnyak
Автор

Hey, anyone who sees this and you're thinking about giving up, DON'T. You are halfway through and it gets easier and more fun from here. I promise all of the hard work pays off.

tylerwalking
Автор

for anyone having this problem if the error shows up and says null reference exception that mean that you have to drag player movement into the collision scrip that's what worked for me. the part I missed was at 7:03

kailange-dei
Автор

After thinking and being "scared" of starting learning coding and trying to create a game, I started yesterday and downloaded unity - and so far i am having a blast and thats thanks to you, brackeys
wonderful tutorials so far, great explenations, and perfect "from scratch" tutorial/lessons.

I have done a Tutorial, , besides the "microgame" from unity, but that was way to "specialized" and adding to an existing project, which still did not cover the real basics of unity.

much love!

Eric_Shaun
Автор

For those who are wondering on how to get the collision system to work, I found out how to fix it,
The code:

using UnityEngine;

public class PlayerController : MonoBehaviour
{
public PlayerMovement movement;

void collisionInfo)
{
// Check if the player collides with another object
if
{
movement.enabled = false;
}
}
}

Make sure you remember to link the PlayerMovement script to this script through unity, in the inspector.

I hope you've found this helpful🙂

DavidPalayathar
Автор

Just want to say a shout out for Brackeys being so happy every video! It's cool to see someone so happy about passing on their skills to others! #Hero

twwister
Автор

You look like the happiest man I’ve ever seen all the time, I love it

CobbleTrash
Автор

anyone realise that all the ads he does are to help the comunity not for personal gain
this is how to distinguish good content creators from the bad ones.
true legend.

MKx_
Автор

this mans intros are the happiest things ive seen in my entire life

dratylapio
Автор

I just want to quickly comment whilst in the middle of this playlist. Attempting coding has always been a daunting task, but your videos explain everything really well and it is slowly becoming a lot more clearer to me. Thanks. :)

CurbStompCity
Автор

Good job to those who have kept going through the tutorial. You are a true champ, and I hope to see you watch the next one. Don't lose motivation.

pinkiepurplez
Автор

I just discovered a world i love and i didnt know, i guess i will have to change my major😂, btw im doing everything exactly as he is doing it but i have so many different ideas for it but i dont know how to execute them, i guess i have to stick to what he is doing till i actually learn

vladymartinez
Автор

he explains things fast into the point directly and keeps everything simple, can't imagine something better

ralf
Автор

When you spell Obstacle "Obstacal" accidentally in the code and it takes you half an hour to figure out that fault:




skypirate
Автор

i love how the videos are short and straight to the point like small baby steps

alessio
Автор

I like how he explains things step by step. I mean REALLY step by step. For exmaple I didn't what the tag was for in other tutorials, they just glanced over it but this guy really explains things. Now I have a better solid understanding of unity.

brucelee
Автор

I'm from Ukrain and don't speak English but watching these videos I'm was amazed because I understood him very good, and I'm so grateful for your work (11 videos "How to make a Video Game"). Thank you man!!

Pozivnoy_Haski
Автор

Please make longer episodes when you come back from your vacation, I hope you have fun!

interflashz
Автор

This is my third time coming back to Unity, and honestly, I'm astonished at how simple this stuff is in hindsight. I have experience in the kids coding site called Scratch, and frankly it's making this so much easier to digest. I mean, I really get this stuff, and I'm feeling so confident in it so far!! I think the best part for me to, is I have an understanding I don't know that much, and due to this, I got a good grasp on how big my scope is... But! I'm confident I can do something that'll be just fine! I'm just so happy for this tutorial, thank you, Brackeys!!!

_zerohour_