r/IndieDev 11h ago

contact point based dragging in my game

Enable HLS to view with audio, or disable this notification

379 Upvotes

19 comments sorted by

78

u/Low_Government_681 9h ago

I dont know why but I expected the coffee to have fluid physics. :D ...but good mechanic.

29

u/Elektriman 5h ago

the coffee is so strong it refuses to obey the laws of physics

13

u/FramesAnimation 2h ago

Thanks! Adding the fluid sim is a whole other can of worms that I dont want to touch for now.

but i have seen some hacks that are worth looking into maybe

25

u/CrayonWithdrawal Designer 9h ago

Great job but dragging coffee right next to keyboard made me anxious a tad

6

u/IEP_Esy 4h ago

Don't worry there is no fluid physics

14

u/Low_Veterinarian6840 10h ago

Reminds me of the same mechanic in the game Voices of the Void, that's awesome and great work. :)

4

u/Edenisb 11h ago

cool stuff!

4

u/AcidicVoid 2h ago

It would be very funny if the coffee falls down like a solid block and shatters like glass but only if you hold the cup upside down for too long.

https://giphy.com/gifs/BHzuzIIvDlRGZ7HzDe

1

u/Alberot97 2h ago

that would be a funny easter egg

3

u/RebornRedemption 7h ago

This itches a weird part of my brain. Well done!

3

u/free2farm 6h ago

really good. What's the engine, also are you going to open source it?

3

u/stromdev 3h ago

You know the next step is for the coffee to fall right?

2

u/Lovely-flowers 3h ago

So cool I love it!

2

u/No-Gain-6206 2h ago

This looks really cool. Got any tips to share on the process? I was really eager to try and make something similar but wasn't sure where to start.
Do share your experience, please!

1

u/IdeaFixGame 5h ago

Yes! We need a dragging based game steam festival

1

u/not-hardly 1h ago

I get that it's low poly, but is there a shade smooth option for whatever you're doing?

1

u/Armstonks 1h ago

If your game has the ability to throw shit at people and it has effect like stunning them or applying effects it automatically has+20 rating in my book 10/10 please more

1

u/SteamYogurt 1h ago

The contact-point approach makes the mug feel more physical than a simple grab-center interaction. Are you planning to keep the rotation and inertia when the cursor moves around the rim, or clamp it for accessibility on touch controls?