- Home /
Question by
mk4014104 · Mar 05, 2021 at 11:05 AM ·
transform.positionphysics.raycast
physics Raycasting having issues
I have an uneven surface with a mesh collider on it. I have a disc which i want to move in xz direction. disc has a cylinder mesh on it. I am using ray-casting to move it. But as surface is uneven , Some part of disc goes below the surface . Anyone have idea about this. I have got stuck in this problem . I want the disc to move all disc above the surface(i.e behave like a cloth placed on surface). Anyone has an idea about it? Thanks in advance. Unity 2019 LTS
Comment