Unity 5 Tutorial - Mesh from Code

preview_player
Показать описание
Write code that makes the geometry of a dynamic mesh, then move the vertices to change its shape
Music Composed By Stephen Lu

Taya’s Alphabet:

Kelsi Davies: Haunt Escape:

Рекомендации по теме
Комментарии
Автор

I thought the box was a pretty ghetto idea at first when you showed it, but once you work on more than just one face it would be very confusing without that box diagram. Great way to visualize it. Good job.

mikesirman
Автор

Almost first time in my life I saw useful tutorial using only basics (y) exactly what i needed to start with my project. thx

DaweSlayer
Автор

Hey I know this is kinda late but for everyone doing in now, once you have all your first 8 vertices, you can just define the rest of the triangle by the same rules, it's pretty cool, thanks for the tutorial!

nikolaypopov
Автор

This is amazing you explained everything so well! if we had more people like you on youtube coding would be a breeze!

yiannimarkou
Автор

This is perfect for a project I have in mind. Thanks a million!

odadots
Автор

Great, thanks! That's what I've been looking for for ages!

UltimatePerfection
Автор

for all watching this video after this moment:

mesh.Optimize();

is obsolete and can just be left out

daveh
Автор

You tutorial is the best in youtube. Congratulations bro.

jaimezafirozorzer
Автор

This is sick. Im so beginer. Thanks mate. Good job

TalesOfHeilotia
Автор

In the Vector3's in the Vertices, i suggest you use an Enum to basically put a name on the numbers, so instead of -1 means left you can just type left instead and the computer figures out that left is -1.
Code:
enum side { left = -1, right = 1, top = 1, bottom = -1, front = 1, back = -1};
Vector3[] vertices = new Vector3[]
{
new Vector3(side.left, side.top, side.front), // (Row 16) same as ( -1, 1, 1 )
///....
}

sebbes
Автор

Exactly what I was looking for, couldn't find this in the asset store.

campknowledge
Автор

Thanks for the class. it is very useful

MuhammadIlham-vnnq
Автор

Please do a tutorial on how to do explosions and building destructions. I'm really anxious to see how you do it. Love your tutorials man! Though it could be where you could make the building explode and fall apart.

sightseer
Автор

Thanks so much for sharing this, all of this is great information.

DaSquareful
Автор

Thanks! Helped me a lot with my problem!! :)

RauelON
Автор

Hey great video man! It really helped me out! Next time can you elaborate more on how to make a procedural mesh with bounds? Thanks! Keep it up!

sylvanmartin
Автор

Fantastic tutorial! Thank you very much!

TrentBarta
Автор

thanks for the tut! I like the vid but 2 things Id like to suggest: 1, you either speak louder or you raise the volume on the vid. 2, please explain/breakdown the code a little more for us new guys.

aliens
Автор

Really good work there Aaron! Would it be possible to create cylinder wedges as well? I have been trying that for a couple of days now and your tutorial was the best i could find.

soonfamous
Автор

nice one.. this is how blender animations are processed inside unity behind the scenes??

aion
welcome to shbcf.ru