\n","author":{"@type":"Person","name":"C. Krepel"},"upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"
There are many different colliders to choose from. Perhaps a MeshCollider is what you're looking for. Or, if you're doing a 2D game, a Polygon Collider 2D
\n","author":{"@type":"Person","name":"Fredrik"},"upvoteCount":8}}}Reputation: 33
So I've managed to create custom shapes in Unity by using Inventor. Problem is, that my Box-collider has a different shape than the shape of my actual object (which has curves and such). Is there a way to set the shape of my box-collider equal to the shape of my object? Thanks in advance.
Upvotes: 1
Views: 4142
Reputation: 2069
2 Options
Sample hierarchy should look like:
- Your Game Object // Rigidbody here if use.
|- Mesh
|- Colliders
|- Colliders
|- Colliders
Upvotes: 0
Reputation: 5108
There are many different colliders to choose from. Perhaps a MeshCollider is what you're looking for. Or, if you're doing a 2D game, a Polygon Collider 2D
Upvotes: 8