- Home /
collider passes through
hi, so I'm making a game with a hook systems, so the character moves using a rope, for the mechanism: I make an empty game object, and for the rope I use a line renderer with the origin of the character's position and end position using the position of the game object earlier, and I added add force to make it move in the direction of the mouse, and if the game object hits the object with the collider then it will stop (I use vector2. zero). everything has gone as expected, but sometimes the rope goes through the wall. sorry I hope you understand what I mean, is there anyone who can help me ?,
Answer by TomArano_Dimenco · Jun 19, 2020 at 02:10 PM
Line renderer has collider so it will pass through everything. Seems like we are either missing some information on how your game works or you are expecting an object to work in a way that is not possible.
Your answer
Follow this Question
Related Questions
Is it possible to rotate a BoxCollider2D? 2 Answers
I can't get my objects to collide 1 Answer
OnTriggerEnter2D working with non-trigger collider 2 Answers
Circle rounds the player in game when I add "circle collider 2D". 3 Answers
stop moving object with collider and stay at the last position. 1 Answer