Compound colliders on triangle shapes

I have shapes in my game that needs compound colliders.
Its not a problem creating colliders for the most basic shapes but if the shape is a form of a triangle I cant really create a coliider that will match the shape becuase there is no triangle primitive collider.
The only thing thats close is the box collider but I need my triangel angle to be 90 degrees for it to fit and usually thats not the case in my tiangles.

Please help if you can, Ive allready spent countless hours trying to fix this problem with no success.

So I’m not quite sure what you are doing, but if you were previously able to use primitives you just need to make yourself a kind of convex triangle primitive.

  • Make a triangular prism mesh
  • Create a mesh collider
  • select your triangular mesh
  • set it to convex
  • scale and position it correctly
  • repeat :slight_smile:

Thank you! Thats exactly what I needed to solve my problem, works great!