How to Optimise Mesh Colliders [Unity Tutorial]

preview_player
Показать описание
Mesh colliders are a funny thing... They're extremely useful for adding detailed collisions to complex meshes, but on the other hand they'll DESTROY the performance of your game if used incorrectly. Luckily, there's a solution to that!

Join me and learn your way through the Unity Game Engine, the C# language and the Visual Studio editor. Remember, if this video was useful then DROP A LIKE! 👍

💯 Want to help me out and allow me to keep making these tutorials? Consider supporting the channel on Patreon:

😍 AWESOME high quality 3D game assets available here:

🤩 SPONSORED LINKS:

💬 Join the Discord community here:

📱 Find us on social media for more Tips and Tricks:

📱 Play our games for FREE here on Google Play:
Рекомендации по теме
Комментарии
Автор

Excellent video, very well done, to the point, great explanation and rich content. Very clear voice and narration. Thank you very much and please keep it up!

DiegoSynth
Автор

Very useful tip. Also Unity's ProBuilder can be used to create the fake mesh. Same fake mesh can also be set only to cast the shadows of the model, when the player is far away enough.

ogulcanzorlu
Автор

Thnx for this video! ive been trying to figure this out today, u explained it brilliantly! :)

delcien
Автор

such a simple and awesome video, thanks for making this.

foreducation
Автор

Thank you so much for sharing us for very nice tricks to work with Mesh Colliders.

rachapongwatana
Автор

My problem is using rigidbodies with mesh colliders. Because unity doesn't support non kinematic rb with non convex mesh collider

panickal
Автор

This was awesome thanks a lot for this tutorial

tanimator
Автор

Great stuff, very informative! SUBBED

AJ-nmfx
Автор

Thank you very much! Very informative video!

laytonvicars
Автор

Great video! It's perfect! Thank you!

nickolayfetlistov
Автор

Hi Mike, Raph here. Another great tutorial, thank you!

raphaelrtf
Автор

Hello, thank you for teaching this method, but I have a question about performance considerations. A box collider has 6 faces, so would a custom beveled box collider with 24 faces and a mesh collider without the convex option take 400% more calculation? Basically, are the number of faces on a mesh collider proportional to the performance cost, or can I at least plan it this way? I’m making a physics multiplayer VR game that needs accurate colliders, which is why I ask.

GamerReality
Автор

Very good content.
I want to create a collision mesh for a shooting game character, but I wanted to know how to make the collider detect where in the body the shot was.

adilsonjunior
Автор

Great tutorial! What happens if your mesh animates and moves? Can you share how you would do that?

workthenplay
Автор

Can I apply deformation on the 3D model using this optimized mesh collider way?

kgutszp
Автор

how would you add a non-convex mesh collider to your object if it has a rigidbody component?

kobyfr
Автор

Thanks for the great video! I followed your instructions but for some reason it didn't quite work for me. I think my problem is that the Mesh Collider Components Cooking Options is still stucked on Everything where as yours changed automatically to Mixed (7:04). Any idea why or what's wrong?

DianaDigipaja
Автор

Great tip. I wonder if this method is still good for moving the tank for example through a city, because it is needed to collide with ground and other game objects

hernandonj
Автор

I want use mesh collider and rigidbody (use gravity), but when i set rigidbody (use gravity) its should use convex at mesh collider. how i can use gravity without convex in mesh collider?

km-sdnyehembangkauh
Автор

is 1000 tris ok for the mesh, cuz if you want to do a tank game you will need to add armour values and you can t just make a cube and a sphere.

abultimatetanksimulator