- Home /
Mesh Collider not detected by Box Collider Trigger (using unity 2018.4 lts)
Hello,
I'm using a small box collider (trigger) moved by the player (size 0.02f, 0.01f, 0.01f). When I try to detect a convex cylinder mesh collider (not trigger) (size 0.07f, 0.03f, 0.07f) it doesn't work. From physic debugger I can see that these collider are really overlapping each other, but on trigger enter is never called.
I tried to use another box collider instead of mesh-collider convex from a cylinder and it works but I'd like to have more accuracy and use a cylinder mesh collider convex instead of a bigger box collider for the cylinder
Any suggestion? C.
Answer by tormentoarmagedoom · Jun 06, 2019 at 10:32 AM
Hello.
Its almost imposible to know what is hapening with the correct information........
Is posible you forget the rigidbody?
From where are you tryng to detect the collision?
can you post the code and inspector screenshots of both objects so we can see what can be the problem.
Bye.
I didn't forget the rigidbody :)
However actually I workarounded/solved it by using a "ring of box colliders" that acts as the cylinder collider (I don't know if it's more expensive use 20 box collider or one cylinder mesh collider but in this case I prefer accuracy).
However I attach a screenshot of the problem if you have any other ideas.
Your answer
Follow this Question
Related Questions
Mesh collider not working as expected 2 Answers
RigidBody's Bug???How to solve it??? 0 Answers
How can I make a object non enterable? 2 Answers
Note Pad not flipping back 1 Answer
My Colliders Sometimes Works and Sometimes Doesn't 0 Answers