SLICE objects, CUT doors or BREAK them inside Unity!

  Рет қаралды 64,938

Code Monkey

Code Monkey

Күн бұрын

Пікірлер: 163
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
This is a great tool that is surprisingly hidden, did you know it existed? 🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses 👍 Learn to make awesome games step-by-step from start to finish. 🎮 Get my Steam Games unitycodemonkey.com/gamebundle
@beastmaster6945
@beastmaster6945 3 жыл бұрын
Can you make me popular like you???
@airzxfade11
@airzxfade11 2 жыл бұрын
yea this crashes my game every time
@darklicren
@darklicren Жыл бұрын
@@airzxfade11 my game also crashed when doing this.
@moodl3d856
@moodl3d856 3 жыл бұрын
Even though these things wouldn’t fit into my game they are still very cool to see, I love interactive environments, thanks for the video :)
@raghavgarg2520
@raghavgarg2520 3 жыл бұрын
Never seen such a hard working man, keep it up :)
@sodarocketstudios
@sodarocketstudios 3 жыл бұрын
This video was just in time for Brackey's game jam. the theme is let there be chaos, so I am sure people will be looking for something like this.
@manasnagelia
@manasnagelia 3 жыл бұрын
Excited for the next video!!
@CRUMVIII
@CRUMVIII 3 жыл бұрын
Oh wow perfect timing. I was only a few days ago, asking about destructible stuff. Cool video. :D
@davidwaynefox7513
@davidwaynefox7513 4 ай бұрын
OMG! This is one of the most useful videos I've ever seen for my modeling. THANK YOU SO MUCH!!!
@dertobbe1176
@dertobbe1176 Жыл бұрын
I learn for about 4 weeks now and u are the first one who talks about converting normal objects to probuilder... Thanks 😂
@User33423
@User33423 3 жыл бұрын
Its realy easy to make explosion effect on a object, just give the object health and when it reaches 0 change it with a same object but cracked in pieces using a blender add-on called "cell fracture", and add some explosion force
@freezinfire
@freezinfire 3 жыл бұрын
Cool video, as expected.
@arcday4281
@arcday4281 3 жыл бұрын
Very useful ! The course is also getting better and better !
@bazyt1
@bazyt1 Жыл бұрын
Thank you so much! This is one of the most useful tools in Unity, I think. And I didn't know ProBuilder could do any of this... 🙌
@r1pfake521
@r1pfake521 3 жыл бұрын
Can you make a new (paid) C# course about a full / "advanced" RPG combat system with abilities, status effect etc. This may sound selfish but I think RPGs are a popular genre, so it would be useful for others too, what do you think? You said you want to make a grid based tutorial, maybe you can combine it and make the RPG combat system of the course turn/grid based.
@arcday4281
@arcday4281 3 жыл бұрын
The system is complex and depends on the specific requirements for it ! I think it's better for you to create it yourself - since such an "asset" will be confusing - and you will still need to understand it in order to change, add or fix something ! It is quite possible to do this based on the video content of "Code Monkey"! And yes, I am a fan of such games (especially "old school") I hope you will be able to create a full-fledged RPG and we will play it with pleasure )))
@Hietakissa
@Hietakissa 3 жыл бұрын
@@arcday4281 It's easier to learn (and understand) something when a genuine professional makes it while simultaneously talking about it. Yes, they need to understand it in order to modify it and to use it properly, and they will if someone teaches them how it works.
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Yup making another C# course is definitely something I'd love to do, now that I've been working more and more with 3D it would be great to do a 3D Survival RPG or making a Factorio-like. The main issue as usual is time, so I'd love to do it but not sure when. I'm planning another update to the Ultimate overview course in October so maybe after that I'll think about making a new course.
@r1pfake521
@r1pfake521 3 жыл бұрын
@@CodeMonkeyUnity Awesome, these sound like interesting topics
@mirkoemir
@mirkoemir 3 жыл бұрын
Awesome ... I didn't know this feature and indeed it is very useful. Thank you for share it.
@leviadams4488
@leviadams4488 3 жыл бұрын
your so good at explaining and then helping others with there problems afterwards your channel is amazing
@PastaCouch
@PastaCouch Жыл бұрын
Is it possible to apply the subtraction method in-game? Like a script activates it?
@BBdaCosta
@BBdaCosta 3 жыл бұрын
This was always I doubt of mine and it's very easy with Pro Builder, but how can I create this cut in running time, like this simple games of cutting something to solve a puzzle. Thanks for the video.
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
I haven't tested it but ProBuilder comes with all the source code and you can see what it's doing on ProBuilder/Editor/EditorCore/BooleanEditor.cs It seems all the logic should work in runtime but not sure.
@ysundawa
@ysundawa 3 жыл бұрын
Yes in fact there is a ready to use asset in the store which do exactly what you need, some of them included the source i believe (but not free as far as I know),... just trying to add another alternative to learn about how to do that.
@diliupg
@diliupg 3 жыл бұрын
@@CodeMonkeyUnity WIll be Maths heavy..
@AllExistence
@AllExistence 3 жыл бұрын
Is probably not because of pivot, but mesh bounding box. Is used for determine whether object is within camera frustum.
@betahunter
@betahunter 3 жыл бұрын
In my experience it struggles on large meshes. Just crashes every time. I am however talking about terrain size meshes. Converted a terrain into a mesh and vanted to make caves which causes it to crash every time I use the bool tool.
@G4M5T3R
@G4M5T3R 3 жыл бұрын
Could you break the terrain into chunks then bool tool the chunk you want to make a cave in?
@betahunter
@betahunter 3 жыл бұрын
@@G4M5T3R Hmm that might do it, but the terrain is a rather small valley, so I would have to add some serious fog to make that work. But great idea, thanks :)
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Interesting, I only tried with small meshes so maybe that's why I didn't have issues. Yeah if the issue is with the size then breaking it into multiple chunks should work
@Icewind007
@Icewind007 3 жыл бұрын
I was trying it on low poly houses (SYNTY) and that crashed too. edit: Nevermind, it crashes even for two cubes.
@no_cap2499
@no_cap2499 2 жыл бұрын
@@Icewind007 lol me too
@LeondalePhotographer
@LeondalePhotographer 2 жыл бұрын
wow! if you knew how long I was trying to do this!!! Thank you!
@LeondalePhotographer
@LeondalePhotographer 2 жыл бұрын
it crashes every time I click subtract. :(
@CodeMonkeyUnity
@CodeMonkeyUnity 2 жыл бұрын
Is your mesh very high detail? Maybe try cutting a smaller part and cut it in multiple pieces
@LeondalePhotographer
@LeondalePhotographer 2 жыл бұрын
@@CodeMonkeyUnity i will try this. so honored you responded! love your work man, you inspire/help many!
@zekiozdemir420
@zekiozdemir420 3 жыл бұрын
I was looking for something like this thank you!
@rocksfire4390
@rocksfire4390 3 жыл бұрын
see stuff like this is so useful to know, even if it's not related to the game i'm working on current. can't wait to see what you have been cooking up.
@dmytrosavostianov3055
@dmytrosavostianov3055 3 жыл бұрын
Thank you for your videos!
@alienouz
@alienouz 3 жыл бұрын
cool video as usual. didn't know this feature is there. waiting for the next video
@TPD_Dev
@TPD_Dev 3 жыл бұрын
I was looking to do something like this and got a popup of this lol and thanks
@barisdogan17
@barisdogan17 3 жыл бұрын
Hello codemonkey, i am following you your videos are awesome. Now i am developing my own games ( i am a backend dev. actually not game a dev. ) and your videos are so helpful. Thank you for everything we are waiting for new and more helpful videos :D I will share you my first game when i published it :)
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
I'm glad the videos helped you! Thanks!
@Wulterchen
@Wulterchen 2 жыл бұрын
Thx, helped a lot!
@ysundawa
@ysundawa 3 жыл бұрын
Owh dang.... al this time I always cycle through Unity and Blender, import and export, failed and try again.... and again.... this is extremely useful and very easy to use.... thanks !
@bdc5950
@bdc5950 2 жыл бұрын
Thank you so much! You are amazing.
@diliupg
@diliupg 3 жыл бұрын
I was monkeying with my code when I saw this video! Fabulous! Hope I can use this tool to take some unreal objects and Unite them...😁
@LemuriaGames
@LemuriaGames 3 жыл бұрын
This is EXACTLY what I needed for a game what I have nice meshes but no damaged or destroyed versions of them. Now I can make them myself. :-) I'll find out what it does at the new faces it creates (the seams/splits). It would've been nice to mention that in the video as well.
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Yeah those new faces take on the material of the second object
@LemuriaGames
@LemuriaGames 3 жыл бұрын
@@CodeMonkeyUnity that is actually very valuable information. Thanks.
@teawa_
@teawa_ Жыл бұрын
That was easy! Great video, I’ll do anything to avoid opening blender
@rishibarathi1487
@rishibarathi1487 3 жыл бұрын
I have a small doubt. How do I apply that union and intersection operation in runtime? Like attach two objects as one when they are close to each other and separate them with a button click. How do I do the attach and detach part?
@danielhasi6974
@danielhasi6974 3 жыл бұрын
Great Video :) and now a tutorial for the animation rigging package that you used in your 3rd person shooter :D
@thelegendarymushroom80
@thelegendarymushroom80 Жыл бұрын
Hey there :) I need some help, the set pivot thing is not working for me and I can't move my broken piece around anymore with the arrows, because I can't find them at all :(, but im rly thank full for this tutorial :D the others I found where just about how amazing this feature is and didn't explain on how to actually use it :(
@thelegendarymushroom80
@thelegendarymushroom80 Жыл бұрын
10 sec in and i realized my mistake, I forgot to press back onto the full cube button on the middle top of the window (changed view) okay got fixed haha
@spookyflower3737
@spookyflower3737 2 жыл бұрын
whenever i apply the substraction my game just crashes can you help me
@BioToxin
@BioToxin 3 жыл бұрын
Always done this while modeling, never thought to try it in IDE
@Andredy89
@Andredy89 2 жыл бұрын
yep, that's the same as in Blender or any other 3d software... but ...how to make holes at runtime via code? Like building in SIMS 3
@Rehd66
@Rehd66 11 ай бұрын
Is there a way to do this with existing prefabs made up of LODs?
@supertenchoo4271
@supertenchoo4271 3 жыл бұрын
Great video
@mahmoudtarek4506
@mahmoudtarek4506 3 жыл бұрын
Man you just came in time I wanted to use this mechanic for the Brackeys game jam 2021.2 Let There Be Chaos
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Awesome, best of luck with your entry!
@neelamshahi8630
@neelamshahi8630 3 жыл бұрын
Best of luck
@neelamshahi8630
@neelamshahi8630 3 жыл бұрын
I f you win you have to give party
@zainuldin9095
@zainuldin9095 3 жыл бұрын
Please Make a video on Unity Level System.
@G4M5T3R
@G4M5T3R 3 жыл бұрын
He did: kzbin.info/www/bejne/oXymfYCsqMx0iJI Or kzbin.info/www/bejne/aXqYlWWoiq9jpqc
@lavizpandey9957
@lavizpandey9957 3 жыл бұрын
this is awesome
@D-Dev
@D-Dev 3 жыл бұрын
Cool, I didn't know about that "Experimental Features". But I think that is still better and faster is creating destructable meshes in blender then do it manually in Unity.
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
I have no idea how you do it in Blender but it took me maybe 3 minutes to cut a wall into various parts.
@D-Dev
@D-Dev 3 жыл бұрын
@@CodeMonkeyUnity Making breakable in blender: kzbin.info/www/bejne/iWK4p3iaZt2emdE . It will be awesome if Unity will be add possibility to use this experimental feature in runtime to create simple destruction system or something like that. :)
@kken8766
@kken8766 3 жыл бұрын
wow~~~ look forward to seeing breaking doors and buildings.
@JustStart562
@JustStart562 3 жыл бұрын
Can it be done in run Time though
@apubetico
@apubetico 3 жыл бұрын
damn bro, this is powerfull
@partydave1067
@partydave1067 2 жыл бұрын
The thing is I need to cut a part of a big mesh upon collision
@LalitaHamill
@LalitaHamill 2 жыл бұрын
I followed your clear instructions, and it all worked until I selected 'subtraction', at which point my Unity project closed. I tried it again, using 'union', and my project closed again. I am using 20221.3.2f1 Do you know if Unity has disabled this as an option? I would really like to have access to the boolean (I forget how to spell it)
@CodeMonkeyUnity
@CodeMonkeyUnity 2 жыл бұрын
I don't think it's been disabled but it is experimental so perhaps it doesn't work well with that TECH version. The only crashes I've had were with super high poly complex meshes, does it still crash if you try to use it on something simple?
@LalitaHamill
@LalitaHamill 2 жыл бұрын
@@CodeMonkeyUnity I was using something quite simple, so I'm not sure...I think you're right that it doesn't work well with this tech version...to bad!!
@ouramasque7815
@ouramasque7815 Жыл бұрын
I think it's still in experimental because when I tried to use it to cut a model from sketchfab into smaller pieces, unity crashed. Twice.
@Tester13565
@Tester13565 8 ай бұрын
Thank you for much wow
@minosprime5821
@minosprime5821 3 жыл бұрын
could you make your steam app work on mac?
@vincentlauwen9742
@vincentlauwen9742 3 жыл бұрын
Here's Johnny!
@TheSauceManOG
@TheSauceManOG 2 жыл бұрын
my unity project crashes whenever i use the subtraction tool
@mamazing65
@mamazing65 3 жыл бұрын
Hi good tutorial when will you make next video and can I use this to cut 3D objects?
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Yes you can cut 3D objects, all the objects I showed are 3D, also works in 2D
@vedantrikawale2077
@vedantrikawale2077 3 жыл бұрын
Its a really good video
@vedantrikawale2077
@vedantrikawale2077 3 жыл бұрын
@@YiKaG I didn't saw the full video but important parts which were helpful for me
@robertogirardi6861
@robertogirardi6861 3 жыл бұрын
A simply question about courses. Are you planning to update the 2d platform course without bolt but only with c #? Thanks for any reply
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
You mean converting the Platformer game to work with C#? That's not something I'm planning but in the course I use Bolt with programmer naming so you can easily convert each node into the corresponding C#
@robertogirardi6861
@robertogirardi6861 3 жыл бұрын
@@CodeMonkeyUnity yes. Maybe you could make a simple tip/video to how do that? Thanks. I think i may be usefull to anyone
@no_cap2499
@no_cap2499 2 жыл бұрын
I have one slight issue, When I use the subtract feature it successfully cut a door in the wall however the problem is when I add a collider to that new wall with the door cut it doesn't let me pass through the door because the collider treats it as a wall with no holes. Any fix for this?
@CodeMonkeyUnity
@CodeMonkeyUnity 2 жыл бұрын
Try making the Mesh Collider convex. Alternatively don't use a Mesh Collider, make multiple BoxColliders for the wall shape
@ChrisVideosGreek
@ChrisVideosGreek 3 жыл бұрын
l need assistance, is it possible to download probuilder on Unity 2018 lts? Also the video is very useful don't stop these videos
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
ProBuilder has been around for ages so yes although I don't remember when it was added to the package manager, for 2018 maybe you need to manually install the package from the asset store
@ChrisVideosGreek
@ChrisVideosGreek 3 жыл бұрын
@@CodeMonkeyUnity Oh ok, l'll try. Thank you for the reply
@070tahsin
@070tahsin 3 жыл бұрын
Can you make a game which is focused on clean code?
@thaipham7198
@thaipham7198 3 жыл бұрын
I got crash when use boolean tool
3 жыл бұрын
how can I use it in runtime? I would love to see you tutoring it xD
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
I haven't tested it but ProBuilder comes with all the source code and you can see what it's doing on ProBuilder/Editor/EditorCore/BooleanEditor.cs It seems all the logic should work in runtime but not sure.
@snake1987666
@snake1987666 3 жыл бұрын
what are the downsides of using this? I mean, using booleans on a mesh is the best way to do it?
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Someone else commented that this tool has issues with giant meshes, beyond that I haven't had any problems
@BlackJar72
@BlackJar72 2 жыл бұрын
Being able to do this is exactly what I need to do -- except it really doesn't. It would be so much more useful to be able to do this in code to create a system for player created content (think of players adding doors and windows to Sims houses).
@CodeMonkeyUnity
@CodeMonkeyUnity 2 жыл бұрын
ProBuilder is open source so you can just go through the package code to find out how to call that from your own code. Although making a player mechanic using this would probably not be recommended, remember this is still marked as experimental so I would make a core mechanic in your game based on an experimental feature.
@seb.5053
@seb.5053 3 жыл бұрын
Can this work for a 2D environment?
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
I didn't test if but yes you can probably use this same tool with quads for sprites
@TatlisDev
@TatlisDev 3 жыл бұрын
Ty for the tutorial but could you also show the same thing but in 2D?
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
I didn't test it but it should work just fine with cutting a quad mesh
@marksmithcollins
@marksmithcollins 3 жыл бұрын
How much is performance loss?
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Compared to what? It's just a mesh
@esosaosayamwen9152
@esosaosayamwen9152 2 жыл бұрын
my unity keeps crashing every time I try to split my object. Is there an alternative way to SLICE objects?
@CodeMonkeyUnity
@CodeMonkeyUnity 2 жыл бұрын
You can slice them in Blender
@alijaras
@alijaras 3 жыл бұрын
I have a question When i use the new input system and when i make a variable type of input actions I can't reference it in the editor even if it's public and it's throw error in the console that there is a null reference I have add that code and still have the same issue private Input inputActions; public void Awake() { inputActions = new Input();}
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Did you name your input actions object exactly Input and generated the C# class?
@alijaras
@alijaras 3 жыл бұрын
@@CodeMonkeyUnity Yes
@alijaras
@alijaras 3 жыл бұрын
@@CodeMonkeyUnity I have followed your 45 video about the input system and the error appears in the line 23 in the min 23:51
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
@@alijaras Use Debug.Log to find what is null kzbin.info/www/bejne/a5rVp2ZmYseHgNk
@TindallB-Gamedev
@TindallB-Gamedev 3 жыл бұрын
Hi!
@neelamshahi8630
@neelamshahi8630 3 жыл бұрын
This I need wow 😎
@audreyjensen666
@audreyjensen666 2 жыл бұрын
Video starts at 01:21
@khyzr
@khyzr 3 жыл бұрын
can u make a updated 2d inventory unity system like minecrafts??
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
I did make that quite a while ago, it's still up to date kzbin.info/www/bejne/e2qUf4ysedamr5o
@arete31337
@arete31337 2 жыл бұрын
Unfortunately this crashes an HDRP scene on 2021.3.0f1 every time.
@CodeMonkeyUnity
@CodeMonkeyUnity 2 жыл бұрын
On every asset? I've tested with with about a dozen assets and only one of them caused a crash. maybe it's too high poly?
@pandaengine
@pandaengine 3 жыл бұрын
I can not turn on Experimental Features on Unity. It's annoying. But great video nontheless!
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
What does it do? It looks like it's frozen but it's recompiling the script, click the button and don't touch Unity for a while
@krakenchan
@krakenchan 3 жыл бұрын
Was this because of brackeys game jam
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Not really but it seems like this tool would perfectly fit the theme!
@krakenchan
@krakenchan 3 жыл бұрын
@@CodeMonkeyUnity lol right haha
@krakenchan
@krakenchan 3 жыл бұрын
@@CodeMonkeyUnity quick question how can I get my games infront of you to be showed like what is the criteria that you are looking for? Thank you
@angreeee
@angreeee 2 жыл бұрын
unstable. Only works cutting 2 cubes, with more complex meshes it either crashes or produces faulty meshes. Then i try to cut newly created object again, it already can't handle it. So it looks like it cannot work with its own creations or it's just my weak i7-11 3060 computer that is at fault. I just wasted many hours trying to get it to work. Better just invest 20-60 bucks and buy a stable, functioning tool with support from a creator from the asset store.
@GameBoy-ur9mb
@GameBoy-ur9mb 3 жыл бұрын
It is an experimental feature so it keeps crashing my game.
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
Really? I've used it a ton and haven't had a single crash or issue (other than the weird origin issue)
@GameBoy-ur9mb
@GameBoy-ur9mb 3 жыл бұрын
@@CodeMonkeyUnity ya. i am also using 2020.0.1 that could be the problem for me i guess
@myriadpro1641
@myriadpro1641 4 ай бұрын
i dont have probuilder
@CodeMonkeyUnity
@CodeMonkeyUnity 4 ай бұрын
Go to the package manager and install it
@Funoa
@Funoa 3 жыл бұрын
#notification_squad
@agroxk
@agroxk 3 жыл бұрын
Hello!
@UberMassiveGaming
@UberMassiveGaming 3 жыл бұрын
Like everyone here I was also somehow looking for dynamic destruction and only found old blurry tutorials. Just watched as was disappointed that you only did the mesh merging, ya gotta rename the video to merging meshes man.
@saburnaseer6375
@saburnaseer6375 3 жыл бұрын
He said that part is in upcoming vid
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
What? Only merging? Did you watch the video? I show how to cut off a piece on 3:17 How to merge on 3:58 And how to cut on 4:20
@UberMassiveGaming
@UberMassiveGaming 3 жыл бұрын
@@saburnaseer6375 yes he did but my point still stands that the video was not about slicing despite the title, it was about mesh boolean math.
@saburnaseer6375
@saburnaseer6375 3 жыл бұрын
@@UberMassiveGaming come on he even replied to you.
@UberMassiveGaming
@UberMassiveGaming 3 жыл бұрын
@@CodeMonkeyUnity. I apologize I worded my comment poorly, you show mesh intersection and subtraction in this video. The video and thumbnail show actual sliding and shattering of objects. You state that is coming in a follow up video. My complaint is that you titled and put a thumbnail for a video you plan to do, not the actual video itself, which is about probuilder’s boolean mesh operations, not slicing and breaking meshes.
@동플-s3i
@동플-s3i 2 жыл бұрын
crashed...if it's high poly object
@random_precision_software
@random_precision_software 3 жыл бұрын
When is the main event? Cos that was click bait.. You didn't show how to do it.
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
What didn't I show? The tool is how you do it. Use a cube and Subtraction to cut a hole for a door. Use Intersection to create various pieces. What do you feel the video was missing?
@random_precision_software
@random_precision_software 3 жыл бұрын
@@CodeMonkeyUnity you showed the wall exploding
@darkdoom907
@darkdoom907 3 жыл бұрын
Crashed*
@warfarecreations379
@warfarecreations379 3 жыл бұрын
Reach ++
@darkdoom907
@darkdoom907 3 жыл бұрын
Unity closed
@agroxk
@agroxk 3 жыл бұрын
First comment
@themihanoid5020
@themihanoid5020 3 жыл бұрын
Please don't give such videos name and preview image that don't describe its content I was expecting to learn in more details the way to substitute original objects with its shattered version And even if it's "part one", you'd expect it to be stated in the beginning of the video, the title or preview
@CodeMonkeyUnity
@CodeMonkeyUnity 3 жыл бұрын
How does it not describe the content of the video? With this tool you can slice objects, cut holes for doors and break them into multiple pieces. What details? How to instantiate a prefab?
@themihanoid5020
@themihanoid5020 3 жыл бұрын
@@CodeMonkeyUnity So in my own projects essentially what I was doing is: Make an object, save a reference to a shattered object in a script attached to whole object, and when it breaks I just instantiate a shattered version and destroy a whole one. Judging by the title, preview (both the image and a little gif playing when hovering over a video) and demonstration at the beginning I was expecting to see the whole process of how you achieved that effect (to see if my way is less optimal or professional), but I've only seen how to cut meshes with probuilder and been told at the very end "the rest will be in pt.2" That's what I was upset about
@USBEN.
@USBEN. 3 жыл бұрын
Bruh
@dageon3127
@dageon3127 3 жыл бұрын
Есть русские?
@heavensmorgue
@heavensmorgue Жыл бұрын
clickbait, you didnt show how to slice. Reporting you
@CodeMonkeyUnity
@CodeMonkeyUnity Жыл бұрын
What? It's right there at 3:10, if you want a thin slice you do an intersect action on one side of the object and another one the other side of the object.
@heavensmorgue
@heavensmorgue Жыл бұрын
@@CodeMonkeyUnity In the Thumbnail there obviously a swiping motion with a slice not a static cut. You couldve taught about Boolean in under 1 min cause its that simple. I use it in Blender all the time.
@CodeMonkeyUnity
@CodeMonkeyUnity Жыл бұрын
It sounds like you're having trouble simply thinking about how to connect all the pieces to build the mechanic you want but everything is shown on the video. You use the Intersect action to slice the object in 2 parts. Then in the code when the player slices the object you destroy the unsliced object and spawn the two slices and give them an explosion force. Exactly like I did in the destruction video unitycodemonkey.com/video.php?v=tPWMZ4Ic7PA
Awesome Easy DESTRUCTION in Unity! (Add SECRETS!)
12:38
Code Monkey
Рет қаралды 66 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 211 М.
How Do Game Devs NOT Overscope??
9:04
Green Light Dev
Рет қаралды 16 М.
TOP 10 NEW Systems and Tools JANUARY 2025! | Unity Asset Store
8:45
SHATTER / DESTRUCTION in Unity (Tutorial)
5:56
Brackeys
Рет қаралды 513 М.
3 Interesting Ways Scriptable Objects can fix YOUR Unity3d project now!
24:29
Jason Weimann (GameDev)
Рет қаралды 87 М.
The Beginners Guide to Creating Realistic Graphics (In Unity)
22:02
Creating Rope Objects with Physics | Unity Tutorial
10:36
Sasquatch B Studios
Рет қаралды 31 М.
If You Can't Make Games After This Video...
4:37
Fredyy
Рет қаралды 1 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН