Mesh Collision from Blender into unity. Easy way.

preview_player
Показать описание
A method to use collision mesh from Blender in Unity in a quite efficient way. No beed to add zillions of Box Colliders by urself in Unity. You can do it in Blender, that is a better tool for managing such task.
music :
Title: Midnight Stroll
Artist: Ghostrifter Official
Genre: Jazz & Blues
Mood: Calm
Рекомендации по теме
Комментарии
Автор

This is a rare finding. I needed this before but couldn't find it. I will try this now and will let you know. Thank you!

interpro
Автор

thank you so much. it is kind of ironic tho when you said "unity doesn't have one at the moment" XD. even unreal engine 3 had a prefix system lol. 2024 still no sign of it, but glad there is this option to add a mesh collider and pick a custom mesh.

maxgordon
Автор

Awesome technique! Been using this to make collisions for buildings.

zehsofficial
Автор

6:23 "AND VOILA !!!"

Merci en tous cas pour le tuto Eric 😂😂 J'espère que ça fonctionne encore sur les versions plus récentes (même s'il n'y a pas de raisons).

Victor-vjxk
Автор

THANK YOU SO I have been looking for a free solve to the same problem for days now. You are a life saver.
+1 like +1 subscribe and rung the bell.

theothercreare
Автор

Not only informative but also has good music.

CopiousDoinksLLC
Автор

Thank you for the tutorial, was wondering how to handle complex meshes with multiple colliders.

alexhooi
Автор

Nice thanks! Good to know the need to group all boxes of a model to a plane to bind them together for Unity.

mohamedkhomsi
Автор

Nice tutorial, thank you!
Would be great if you made a part 2 where you would explain how to deal with hollow objects. :)

WayfarerKate
Автор

Thats why unreal engine is so superior in functionality. It has built in collision hull and vertex accuracy in the object editor. Doing physics thing easily in unity is a real pain in the ass


Nb: I am a unity user.

irtezarahman
Автор

is it at all possible to do this with using just blender?

dearage
Автор

Hey what if my mesh is like a sphere, which is hollow from the inside, (I wanna make objects bounce around inside the sphere), how do I create a convex mesh for that sphere?

shazboi
Автор

The voices in your background track are interfering with the ability to distinguish your voice.

deepthoughtsradio
Автор

but mesh collider will be heavier on performance

prashantvyascg
Автор

the next question I will ask I have not found a satisfactory answer
Note: I had already gone through this discovery on my own, I know that it limited the problem in a limited way.

Question:
put one more property and add one more collision box to the mesh, what does it cost in engine performance? How much is this encouraged when you have (I will take as an example the chair with which you are doing the example) a chair that has to put collisions on the legs, seat, and backrest, on average this would be 6 collision boxes, ([1 on each leg = 4 collision boxes] + [1 on the seat = 1 + 1 collision box] + [1 on the backrest = 1 + 1 collision box] = 6 COLLISION BOXES, but I don't know what cost has this in consumption of resources of my computer or in the game engine.

Can you explain this to me? It is encouraged, it becomes heavy, is it too many calculations? what about performance?

mauricioyaman
Автор

Hmmm is there a similar method for procedurally generated mesh?

nukee
Автор

neat... but i not get exactly how you get a other mesh layer in blender... may a longer tutorial you can evolve the explanation, i a bit raw in blender and want this kind of stuff, but not know enought to understand what you do in blender... i already create some mesh, but not work with multiply layers or anything that advanced hehe... well i will do somes tries


thanks anyway!

ViniTheCrazzy
Автор

how do you export the objects properly?

HollowsDarkness
Автор

I have 3D models I imported from Blender for an endless runner I’m making, and when I attempt to Add Component > Box Collider, it spawns a box below the object. I cannot find an answer anywhere as to why the Box Collider doesn’t just outline the object like it should.

I can edit the collider, sure. But that shouldn’t be necessary. Why doesn’t my box collider auto detect the shape of the object? Almost as if my object isn’t even there...

jadenhucke
Автор

It's also strange to me, why did you add the box collider to your stairs? You already have a nice mesh that is responsible for the correct collision - why do you need any additional remedy?

WayfarerKate