The reason I ask is because I would like to know the most precise method if there is an automatic way of doing it because I noticed doing it manually can lead to slight imperfections which can affect collision.
How can I make the wallcollision scaled to the same size as the wall mesh without manually doing it?
1 Like
any reason you dont use the mesh as collision?
otherwise, you can get the componentbounds of the mesh and do some math to set the collision size
You can set your collision right inside your mesh, it will make the same size of collision as your wall or whatever mesh you want. But be aware that this will create every wall that uses the same mesh into collision, so if you have a heavy mesh used multiple times in your scene then it can affect your performance. If you want only one wall to have collision then make duplicate of that mesh and then set collision.
Use collision set to Use Complex as Simple on mesh ![]()

