Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slide an object with mouse #306

Closed
GrimPixel opened this issue Sep 6, 2023 · 4 comments
Closed

Slide an object with mouse #306

GrimPixel opened this issue Sep 6, 2023 · 4 comments

Comments

@GrimPixel
Copy link

Is your feature request related to a problem? Please describe.
There are some games where objects need to be slided, like 15-puzzle and klotski.

Describe the solution you'd like
Add an optional behaviour of sliding an object with mouse.

@drwhut
Copy link
Owner

drwhut commented Sep 6, 2023

Could you give detailed examples of why in these games these objects need to be slid, rather than grabbed and re-positioned? Would the flick tool be a suitable workaround in these instances?

@GrimPixel
Copy link
Author

GrimPixel commented Sep 6, 2023

When playing these games, the blocks inside the frames are not supposed to be moved out of the frames. Magnetic forces are used to guaratee the stability of block movements.
https://www.youtube.com/watch?v=c4P62cFu9Os
https://www.youtube.com/watch?v=F9n2FPoWg-I

@drwhut
Copy link
Owner

drwhut commented Sep 7, 2023

I see - this is kind of already possible with the current cursor tool, the only requirement is that you would first have to set the hovering height with the scroll wheel with the first piece that you pick up. Every piece that you pick up after should hover at the same height (that is, the height the piece was already at before it was picked up).

@GrimPixel
Copy link
Author

Setting the lift height is working. I think it's the solution. I just don't have a frame model and blocks with fillets to test if everything works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants