0
Voltooid

What's the easiest way to add collisions?

Terry Morgan 12 jaar geleden bijgewerkt door GameDraw 12 jaar geleden 1

What's the easiest way to add collisions? I noticed you 'flip faces' on your subway level to make interior, do I just add box colliders to the walls?

Antwoord

Antwoord
Voltooid

If you have a meshCollider on the object then collision will be completely created in an automated way "not a single click needed :) " whenever you modify your mesh the collider will be modified as well, if you don't have a mesh collider and you want to use other colliders then it should be done manually.



Antwoord
Voltooid

If you have a meshCollider on the object then collision will be completely created in an automated way "not a single click needed :) " whenever you modify your mesh the collider will be modified as well, if you don't have a mesh collider and you want to use other colliders then it should be done manually.



You're right, mesh colliders are invisible but they work. I noticed in the Unity Stealth tutorial they

make very simple mesh colliders to go on their hi-poly viewable meshes.