- Home /
Raycasting Collider Problem
Hi,
I have a problem about my raycast shooting system, I shoot the objects very well, but the problem is when my character and the object(does not matter) is too close(two colliders collides) then shooting system does not work. So, I debug my rays to understand what happens, the actual problem is my rays shoot inside the other object and of course that does not work properly. What is the solution of this problem?
Thank you...
Where is the origin of your raycast? Some code might help.
You can always put a collider in a layer and make it so the raycast ignores certain layers.
Your answer
Follow this Question
Related Questions
How can I let the ray to the edge of the capsule? 1 Answer
Shotgun raycast 1 Answer
Raycast exit point of collider 0 Answers
Does RayCast crosses mesh colliders? 2 Answers
scripting problem 0 Answers