Raycast detect in object (problem)
Hello! So I have raycast and it's going up. It's detect object above him, but when the raycast is in object collider - it's not detecting. I need detect object when raycast is in his collider. You have any idea how to fix that?
Thanks in advance :)
Not sure how viable this is, but it's an idea, and the specifics of your situation might affect this as well. But, you could decompose your original collider into multiple thin, sheet-like colliders that could then sense collision from in and outside of the collider. Depends on collider shape though and what scripts you may have attached to the object, it might not work. Not the most elegant solution, but maybe it works.
Hey did you figure this out? Im having this issue to except it happens when picking up objects on the ground, same collider problems though, the raycast not detecting it at all.
Your answer
Follow this Question
Related Questions
how make raycast detect in object for crosshair 0 Answers
Raycast hit 2 Answers
raycast activation by trigger 0 Answers
Raycast does not seem to properly detect object it hit 0 Answers