- Home /
Question by
unity_C10397C1CE9206502AEA · Feb 28 at 10:28 AM ·
unity 2dphysics2dphysics2d.raycast
Pass raycast line through the target,How to make raycast2d line pass through the target?
Hello guys, I want the raycast line to pass through the ball like the image below, but seems like I can't figure this our for almost 5 hours now. I really appreciate any helpful tips and solution for my problem. Thank you :)
/storage/temp/193160-screen-shot-2022-02-26-at-70201-pm.png
screen-shot-2022-02-26-at-70201-pm.png
(112.4 kB)
screen-shot-2022-02-26-at-70201-pm.png
(112.4 kB)
Comment
Your answer
Follow this Question
Related Questions
Is it possible to raycast during edit mode? 1 Answer
What oject/method calls "OnCollisionEnter2D"?,What object/method calls "OnCollisionEnter2D"? 0 Answers
How do I connect a spring joint 2d to a rigidbody in script? 0 Answers
Bitmask/LayerMask used in raycast not working 2 Answers
2D Physics and Jump-Through Platforms 2 Answers