If you don't think you can make a game, then you won't make a game. Being 10 years old shouldn't stop you! Practice does make perfect, what you do need is a PC :). Don't give up.
You are one of the few unity tutorial people I've seen who actually use editing properly to have some sort of proper pacing in your vids. Good going, man!
Just a recommendation for optimizing performance. You should instantiate the the shattered object on the start and deactivate it. Afterwards you reactivate it when you want the break to happen. Nice vids bro! Keep it up!
Make sure that each of the Mesh Colliders on your “destroyed GameObject version” have the “Convex” checkbox ticked in the Unity Inspector, otherwise you’ll be thrown an error that “Non-convex MeshColliders with Non-kinematic Rigid bodies are no longer supported since Unity 5”
Hey Brackeys, love your videos, I don't always use and follow them as in copy exactly what you do as I want to learn from your videos and adapt to my own projects/experiments and you have so many that I end up just watching a lot of random ones and just learning new tips and tricks from all. I was wondering if you haven't already if you could do some videos on trying to understand the physics system a little more such as the mass options and rigidbodies and other relevant information. I heard somewhere that to really get the most out of unity understanding actual physics helps alot. If you have already done some videos, please point them out to me in case I have missed them. Thanks for your videos and helpful guides.
Remember if you want to to build a game, or code anything in general, RUclips videos are not a copy and paste thing, in fact, any code of the internet is not. What he has done here is shown you the process to do it, in a very simple form, but it helps people understand gameObjects and other coding bits, Like to learn a for Loop, we could show you for(int i, i
thank you brotha! - im new to this, currently bought a course on udemy for this, but for 2d, mainly learning scripting now, after I ll buy The 3d version, - and watch all your videos, as you so much more in depth of everything, and showing things they don't do in the course.- someday I WILL BECOME YOUR PATREON TO SUPPORT YOU!
I'm guessing something you can also do is, if you want it like in Diablo 3 where swinging your weapon or blasting a spell at an object sends it flying in pieces, after instantiating the fractured object, apply an impulse using data from the attack/projectile before it despawns
Brackeys! Think you could make a tutorial on vehicles? It would provide a long-running series in which you could have multiple vehicles (Car, boat, tank and especially a helicopter). That would be awesome!
Idk of you guys are still Interested but, find some tutorial on it because I'm sure there is one already, make the player object a child of the vehicle object, use the vehicle controlls from some tutorial and that's basically it, you are locked in the vehicle and able to drive it :D To get out use some button and check if you are close enough to car using Physics.checkSphere(object, rangeofcheck, layertolookfor), then give car correct layer so script knows when you are close to car when clicking enter :)
A lot of people's videos I take with a grain of salt, because they often show bad practices and poor implementations. But I always pay close attention to what Brackeys has to say about Unity topics. My boy really knows what he's talking about.
I've worked with 3D models before and find that if you want to do something, you have to do it yourself. Download a free 3D modeling software (Blender is my suggestion) and make your own cracked version. There are alot of tutorials on how blender works, so you'll be running in no time at all
Look into the Blender Cell Fracture Addon. I'm sure that other modeling packages have their own equivalents. Andrew Price/BlenderGuru has QuickTips tutorial on this called something Like Destroying things in Blender
mr.MYSTERIOUS,YT there is a very easy to follow tutorial on how to fracture / shatter any 3D objects which would include your own models. It tells you where to find a free program and how to set everything up in about a 10 minute tutorial. It's titled " [126] Scorpion81 Fracture - How To Make A Game " its by Gamer to game developer and it's part of a series. Check it out. I learned some basic but usefull shattering techniques from it.
Free way to do this is using joints to make an object. And limit joint's breaking force. This way when enough force applied, joints will break and you can make this look like real breaking
The bottles seem to pop because when the broken pieces are placed on the screen, their rigid bodies are actually overlapping and when the physics engine resolves that overlap, they gain a little velocity. The effect is accidental, but it kind of helps in this case.
The first few lines you said "In this video we are going to look at destroying things in unity" so i responded in my head and said "Yeah, by using unity's standard asset fireworks in your scene" haha
Nice video as always ;) I was wondering could you make videos explaining how you make nice assets like this, I saw that you re using blender, however I find it hard to use and you might be using some other softwares ;) It would really help me with my future projects. thx
Hello & thanks for this! I'm using this in my unity project, but for some reason the replacement /destructible object sometimes shows up at a smaller scale (it mostly does this but sometimes it doesn't, and sometimes it falls in different ways). Any thoughts on what might be going wrong?
This is the way to do things. Find a tutorial and program it yourself. I bought some of those destruction assets on the unity store but ran into problems because they get outdated then the developer never responds to your emails when they don't work.
Hey Brackeys, it'd be awesome if you replied. I was wondering how you would make a cube, that you fractured to only demolish when that area is hit, so like a cube of "stone" getting something thrown at it, and that corner or face crumbling with rubble. So far in blender I've made a cube that fractures, but when something hits it I don't want it to COMPLETELY crumble.
You are so good at explaining things!
I agree!
ye he is the best
I also agree and you profile pic is creepy
He is good at explaining but I'm just 10 years old I don't think I can make a game also I don't have a pc to create a game
If you don't think you can make a game, then you won't make a game. Being 10 years old shouldn't stop you! Practice does make perfect, what you do need is a PC :). Don't give up.
You are one of the few unity tutorial people I've seen who actually use editing properly to have some sort of proper pacing in your vids. Good going, man!
i knooow! i leant soooo much from him!
When you used the same script for the whisky bottle, I couldn't stop feeling satisfied :D
Just a recommendation for optimizing performance. You should instantiate the the shattered object on the start and deactivate it. Afterwards you reactivate it when you want the break to happen. Nice vids bro! Keep it up!
Is this correct?
public class Destructible : MonoBehaviour
{
public GameObject destroyedVersion;
void Start()
{
GameObject tmp = Instantiate(destroyedVersion);
tmp.SetActive(false);
destroyedVersion = tmp;
}
private void OnCollisionEnter(Collision collision)
{
GameObject destroyed = destroyedVersion;
if (destroyed != null)
{
destroyed.transform.position = this.transform.position;
destroyed.transform.rotation = this.transform.rotation;
destroyed.SetActive(true);
}
Destroy(gameObject);
}
}
Indeed! Also if you have a lot of different objects that should be instantiated, you should use Object Pooling. Brakeys has very nice video about it.
Why would you instantiate it on Start? Just use a prefab that already contains both the destroyed and undestroyed versions.
OMG!!! I can't believe that you explained all of these things so beautifully just within 5 minutes. Thanks man keep it going
*BEST---UNITY---LEARNING---CHANNEL!*
your skill and style of presentation wows me
Make sure that each of the Mesh Colliders on your “destroyed GameObject version” have the “Convex” checkbox ticked in the Unity Inspector, otherwise you’ll be thrown an error that “Non-convex MeshColliders with Non-kinematic Rigid bodies are no longer supported since Unity 5”
thanks, needs more upvotes
0:02 My sleep paralysis demon
All these developers and brackeys out here doing hero work. Saved me in hours of need
Hey Brackeys, love your videos, I don't always use and follow them as in copy exactly what you do as I want to learn from your videos and adapt to my own projects/experiments and you have so many that I end up just watching a lot of random ones and just learning new tips and tricks from all. I was wondering if you haven't already if you could do some videos on trying to understand the physics system a little more such as the mass options and rigidbodies and other relevant information. I heard somewhere that to really get the most out of unity understanding actual physics helps alot. If you have already done some videos, please point them out to me in case I have missed them. Thanks for your videos and helpful guides.
Remember if you want to to build a game, or code anything in general, RUclips videos are not a copy and paste thing, in fact, any code of the internet is not.
What he has done here is shown you the process to do it, in a very simple form, but it helps people understand gameObjects and other coding bits,
Like to learn a for Loop, we could show you
for(int i, i
Hm
@Nagato is better than Punk Naruto You will be surprised how many people didn't get this.
Didn't work 😔 my original object destroys but cracked one doesn't spawn, i can spawn single splint of whole destroyed set of parts though
thank you brotha! - im new to this, currently bought a course on udemy for this, but for 2d, mainly learning scripting now, after I ll buy The 3d version, - and watch all your videos, as you so much more in depth of everything, and showing things they don't do in the course.- someday I WILL BECOME YOUR PATREON TO SUPPORT YOU!
Another lovely video. Anybody noticed the way he pronounces Wednesday, so cute.
haha i was like scrolling down "theres no way someone else noticed that"
***** Actually I noticed it but I didn't mention it xD. This time I decided I would.
I'm guessing something you can also do is, if you want it like in Diablo 3 where swinging your weapon or blasting a spell at an object sends it flying in pieces, after instantiating the fractured object, apply an impulse using data from the attack/projectile before it despawns
This was great. In my opinion this was a good example of the perfect video. Great work.
Making your own games is easier than you think
You know..
?
OMG THAT AD SO BORING!!!!
i hate it so much
adblock. but if u preffer wasting hours with ads, dont install it.
@@artjom5617 uBlock Origin is much better
dude......I have been looking for a thing like this for a lot time...you are just awesome
Brackeys! Think you could make a tutorial on vehicles? It would provide a long-running series in which you could have multiple vehicles (Car, boat, tank and especially a helicopter). That would be awesome!
Kajit Killer wow I really want something like that!
Yeah that's be sweeeet
Idk of you guys are still Interested but, find some tutorial on it because I'm sure there is one already, make the player object a child of the vehicle object, use the vehicle controlls from some tutorial and that's basically it, you are locked in the vehicle and able to drive it :D To get out use some button and check if you are close enough to car using Physics.checkSphere(object, rangeofcheck, layertolookfor), then give car correct layer so script knows when you are close to car when clicking enter :)
This comment aged horribly
I've already said this in a past video but the assets shown here are awesome, thanks again!
Thank You, Brackey! Tutorial is so helpful... Happy Holidays🎄🦌⛄
If any1 is using Maya, to create shattered props go to FX/Effects/Shatter/Solid Shatter.
Thx
With blender, you can use the cell fracture tool.
Best teacher I've ever had! Thank you!
This is one of the best Unity tutorials on RUclips
I really just want to know who would dislike these amazing videos!
A lot of people's videos I take with a grain of salt, because they often show bad practices and poor implementations. But I always pay close attention to what Brackeys has to say about Unity topics. My boy really knows what he's talking about.
Keep in mind you are going to want to texture inside the box as well! This is usually something we ignore for performance issues!
I would love to see a video showing how to program your characters to build/create/paint objects onto the environment.
very useful, used it to make a character turn into a ragdoll on click.
Wow, that timing! I was looking for a good tutorial of this subject this very afternoon \o/
how can we do the shatter effect on our own Props ? how can we make a cracked version ?
you should create a 3d model of your prop cracked in pieces and add physics to each piece
there are many great Blender tutorials for that.
I've worked with 3D models before and find that if you want to do something, you have to do it yourself.
Download a free 3D modeling software (Blender is my suggestion) and make your own cracked version.
There are alot of tutorials on how blender works, so you'll be running in no time at all
Look into the Blender Cell Fracture Addon. I'm sure that other modeling packages have their own equivalents. Andrew Price/BlenderGuru has QuickTips tutorial on this called something Like Destroying things in Blender
mr.MYSTERIOUS,YT there is a very easy to follow tutorial on how to fracture / shatter any 3D objects which would include your own models. It tells you where to find a free program and how to set everything up in about a 10 minute tutorial. It's titled " [126] Scorpion81 Fracture - How To Make A Game " its by Gamer to game developer and it's part of a series. Check it out. I learned some basic but usefull shattering techniques from it.
Short and informative. Great Tutorial
As always, straight to the point and super useful 😎 thank you, great work 👌
Hey there, I just want to thank you for your tutorials! They're helping alot! :)
Wow i was thinking about something similar minutes ago!
i miss this guy
Very simple, but still incredibly effective! Thanks for this :)
Ah. A new video.
Wooden Crate Cracked Prefab
Wooden Crate Cracked Prefab
Wooden Crate Cracked Prefab
:D
Free way to do this is using joints to make an object. And limit joint's breaking force. This way when enough force applied, joints will break and you can make this look like real breaking
Brackeys is the BEST!!!!
i love you brackeys you helped so much
The bottles seem to pop because when the broken pieces are placed on the screen, their rigid bodies are actually overlapping and when the physics engine resolves that overlap, they gain a little velocity. The effect is accidental, but it kind of helps in this case.
I was breaking my head to understand why this is happening, thanks for explaining.
The first few lines you said "In this video we are going to look at destroying things in unity" so i responded in my head and said "Yeah, by using unity's standard asset fireworks in your scene" haha
Nice Tutorial
As Always
You are the best!! Happy New year with a lot of Successful Projects!!
I wish you where my professor cause you make things so simple
That is fairly well how I figured that would go. The tutorial was great, though. And I learned about the OnMouseDown function
That's way easier than I thought!
Amazing!!! I guess this script can be used to simulate a destroyed house by a rockfall...thank you
Dude, you are a great tutor.
You speak so fast that Im getting suspicious when on your longer videos, you say that you are drinking water. :)
thanks for your tutorials. Keep doing that mini universal tutorials they're way better than long long series
Holy crap this was very useful. THank you so much!
you re makeing really good tutorials 👍
thank u so much to this whole tutorials dude!
You're an awesome RUclipsr!
Your videos are awesome brothers! 😊
you're a genius
AWESOME TUT!
awesome as usual. congrats
Great tutorial
that's an other amazing video done by you Brackeys !!! thnx a lot !!!😉😉
nice tutorial man keep the awesome work!!!
Awesome as always. Thanks mate.
well, I'm happy to see ya, and your everlasting smile.
You are like the flash of programming 😂😂
Great Tutorial.
I'm your 6 th view and this is helpful cus I am At the moment making a game and I need this!
Thanks for the video.
Great as always.
Fantastic! Thank you so much for these videos!
You are awesome! Greetings from Germany!
Wow that's easier than it seems
this is the best!
Great video, thanks
Nice video! Thanks!
You’re special.
Thank you so much for all tuts! You are the best :)
This site is amazing! Thank you so much!
That look though ;) - 0:02
Nice video as always ;) I was wondering could you make videos explaining how you make nice assets like this, I saw that you re using blender, however I find it hard to use and you might be using some other softwares ;) It would really help me with my future projects. thx
Performance Intensive and Quite Expensive!
Thanks man you are awesome
nice, loved it!
Thanks alot for superb n simple tutorial.
YOU ARE AWESOME!!!
Great! I love your tutorials :) cheers
Thanks for sharing. I appreciate it.
simple and cool
Hello & thanks for this! I'm using this in my unity project, but for some reason the replacement /destructible object sometimes shows up at a smaller scale (it mostly does this but sometimes it doesn't, and sometimes it falls in different ways). Any thoughts on what might be going wrong?
0:02 You're welcome.
I'm here to please. =D
I was gonna type that lol
MVP
lmao XD
This is amazing, thank you!!
This is the way to do things. Find a tutorial and program it yourself. I bought some of those destruction assets on the unity store but ran into problems because they get outdated then the developer never responds to your emails when they don't work.
So amazing :)) I really love this video
Thanks a lot for the tutorial!
Where you've got this pretty good color scheme in Visual Studio?
man I tried my own Asset and man that satisfaction when it breaks..🤣
awesome thanks danish
Thanks! This helped a lot! But is there a way to maintain the speed of the object after it breaks?
Yes just add the same velocity form the main to the parts after you destroy the main one.
Hey Brackeys, it'd be awesome if you replied. I was wondering how you would make a cube, that you fractured to only demolish when that area is hit, so like a cube of "stone" getting something thrown at it, and that corner or face crumbling with rubble. So far in blender I've made a cube that fractures, but when something hits it I don't want it to COMPLETELY crumble.