- Home /
Collision while dragging in Canvas with IDragHandler
I created a drag and drop system like in this video ( https://www.youtube.com/watch?v=BGr-7GZJNXg&t=147s ) and built a map out of many tileSlots, where the tiles fit in. Now I have many tiles and they have to collide, but through the transform to move the tiles under the mouse, the Physics of Unity are bypassed. I searched and found out, that I should move them with Rigidbody.MovePosition or velocity, but nothing really worked. You can see the code in the Video, I did exactly the same. So if you have a solution, please give me an answer. Thank you!
Your answer
Follow this Question
Related Questions
Dragged Object, When it Collides with Another Object, Will Go Back to Initial Position 0 Answers
Following instruction for drag and drop 3d object unity but not working 1 Answer
spawn and drag game object without leaving mouse button 1 Answer
Drag Rigidbody that respects collisions. 1 Answer
NavMesh Collision Detection? 0 Answers