- Home /
Question by
hariprathaap · Nov 24, 2017 at 06:59 AM ·
raycastcolliderballthrough
ball sometimes goes through the bat when hit... collider problem... How to do a Raycast?
I am doing a cricket game using Vive. The problem is when I try to hit the ball with a high bat swing it goes through the bat. I've seen some solutions like reducing the unity time to calculate physics but it doesn't work. I've also tried mesh and box colliders. It seems that the best solution is to solve this using Raycast. But I'm not familiar with it. Can someone help me with this. And also I have a rigidbody attached to the bat with some force multipliers.
Comment