- Home /
Question by
$$anonymous$$ · Jul 06, 2019 at 02:28 PM ·
mouse-drag2d collision
How can I drag and drop 2D objects with the mouse without passing through other objects.
I know how to drag and drop objects, but when I do, they just pass through other objects. I know that colliders are just things for rigid bodies to interact with, but my objects cannot have rigid bodies. Help!
Comment
Best Answer
Answer by $$anonymous$$ · Jul 06, 2019 at 08:41 PM
I figured it out, all I had to do was prevent the objects from getting to close to each other in the first place.
Your answer
Follow this Question
Related Questions
MouseDrag() stops working 1 Answer
Move mechanical arm with mouse 0 Answers
This code only with Right Mouse Drag? 1 Answer
Pulling multiple objects 0 Answers
How to manage multiple objects in a click and drag scrip? 0 Answers