#About inconsistent Raycast
1 messages · Page 1 of 1 (latest)
Yeah the channel gets crowded
So the test_ray is 20 units long, and the physics raycast is 6. however, i can see that the physics raycast is hitting the element behind the cylinder when it misses the cylinder, so i don't believe length is an issue
Oh so it is hitting something else?
You might want to try Physics.RaycastAll and select nearest object in that case
so that red dot is where it's hitting, despite obviously going through another object
the dark grey is the table i mentioned earlier
Oh my gosh I believe I see the problem. This might have been my fault, but do cylinders normally have capsule colliders?
Ooh lol yes... there is no such as CylinderCollider
HA! I am very glad. I believe that's the entire problem then. Thank you so much for helping me. If there's anything I can do to thank you, please let me know!