Unblock Game Controls

Looking to mockup a simple unblock game, and wondering what the best way to do the controls would be.

I saw a a couple “click and drag” scripts with rigidbodies on the unifywiki, but I don’t want one block to affect other blocks physically, just be constrained as to where it can move.

There are so many clones of this game out there, but haven’t seen any made in Unity (that I know of). Here’s a link to one of the more popular ones:

Any advice is appreciated!

-Jesse

I’m not positive it would work, but perhaps you could set isKinematic to true, and use a SweepTest before manually moving the blocks based off of input.

I actually got this to work quite well by just creating a rigidbody on the object that was clicked, and taking it off when the mouse is up

Hi JesseAlexander,

Can you please help me with that…
I get stuck with strange behaviour of the Movement…I am Using 2d raycast for the same…Thanks

return man 3 unblocked Just need resolve same proplem.