- Home /
[solved] mesh collider not accurate for terrain
Hi,
-Edit; oops my bad, I forgot to remove a line that sets the collider to convex. >.>
I use some imported heightmaps as high poly gameObjects (for terrain) and have added a mesh collider to them, but for some reason when I raycast to it/them the collision seems very unaccurate, like the geometry is blurred alot. The gameObjects contain very different heights, could the problem be that Unity perhaps decimates the model for the mesh collider? Can this be made more accurate?
Thanks for taking the time.
Your answer
Follow this Question
Related Questions
Mesh collision and raycast working differently after updating to 2021 0 Answers
RaycastHit.textureCoord returns zero on Android if mesh is not set to readable 1 Answer
Mesh Colliders as triggers not working... Work-arounds (raycast)? 4 Answers
3d ground for 2d gameplay / side scroller 1 Answer
How does a raycast really work? 3 Answers