Question by
shahanbutt0 · Nov 19, 2018 at 06:08 AM ·
unity 5colliderlinerenderer
Line Renderer 2d Follow the edge
I am using mouse position to draw a line using line renderer 2d. What i want is when the line hits a collider it should start to draw on the edge of the collider rather than over the collider. Something like this:
ezgifcom-optimize.gif
(180.5 kB)
Comment
Your answer
Follow this Question
Related Questions
Line renderer broken with SteamVR? 3 Answers
Round a Line around a round thing 0 Answers
How to specify in the GetComponent method in colliders?! 2 Answers
Changing depth of a SphereCollider without changing its size 2 Answers
i have a model with capsule collider on it and when i shoot it want to dead but it not working 0 Answers