Procedural Destroy in Unity - Lazy Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
let's destroy something but procedure you know create a cube create a script grab a knife create a part mash class and add two methods a triangle two adverts normal series and triangles make mash out of it and assign it to a mesh filter component assigned to a mesh renderer component let's cut define a plane anywhere in the mesh bounds get a random direction this is our cutting plane put back the knife did you really think we need that we're port wine gets it away Dover them if one of the points are on the left side skip the triangle if all of them are adds into a new mesh else calculate the cut points how use way dot way cast remember the first calculated vertex within the whole process named it Pete we need them later if you get one on the left side adds this triangle is there are two on the left side add these triangles always connects a calculated cut vertices with speed to close a mesh white down the code or get it's on the video description that's it on game object creation at physics cutter twice destroy something worth is to iron
Info
Channel: DitzelGames
Views: 91,522
Rating: undefined out of 5
Keywords: unity destroy mesh, unity cut mesh, unity procedual cracks, unity cracks, unity destruction, unity destructive environment, unity shatter mesh, unity tutorial mesh destory, unity object explode, unity destroy object, unity explosion, unity super hot destroy, unity super hot tutorial, unity mesh cut, unity break pieces
Id: VwGiwDLQ40A
Channel Id: undefined
Length: 1min 0sec (60 seconds)
Published: Tue Aug 20 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.