- Home /
Question by
chriscode · Dec 28, 2015 at 02:13 AM ·
physicsraycasting
Non-convex mesh for ray-casting only as child of object with rigid body
I have a rigid body with a convex mesh which is used for collisions.
As a child of this I want to have a non-convex mesh for ray-casting. I tried putting it in a noCollisions layer, but I still get the "Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported in Unity 5"
Anyone know of an easy solution? Basically I want the physics engine to ignore the non-convex meshes.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612054039im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Some raycasts don't hit the object 0 Answers
Need help with basic target system 1 Answer
Raycasting not behaving as expected? 2 Answers
2D wheel collider falling through small holes 1 Answer
How to create accurate raycast-based collision detection 0 Answers