How can I make grabbing more realistic?

Hiya! I decided something about my game today–the grab system could be more realistic. Right now, it just feels like a floating object attached to the player. Don’t get me wrong, the system feels great, but I think it could be greater.

For a game basically centered around physics interaction, this is an important feature! I want it to feel more like dragging or swinging it around, while still being easy enough to control and giving players enough freedom. Any ideas on how I can do this?
I tried RopeConstraints. Didn’t go well.


Try it out here:

You can improve the result by avoiding using only RopeConstraint and instead combining Attachments + AlignPosition/AlignOrientation with some forces (VectorForce or LinearVelocity) to create inertia and natural swinging, while tuning responsiveness and forces to avoid the “stuck” effect and giving NetworkOwnership to the player to reduce jitter

1 Like

i guess the lazy way out would be telekinesis with beam attachments :sob:
else if you want a grab with your hands i think you could reduce the range on the dragdetectorthing and try to code something that moves the hand towards the object the user is grabbing (im not really good at scripting so i dont know how you could do this)

A better approach is to use physics constraints (AlignPosition/AlignOrientation) with a target near the hand instead of directly moving the object

okay! im already doing basically all of this except for the VectorForce idea, so i’ll try that

User end of things, just make sure it follows the mouse 1:1 or it’ll feel uncomfortable to use, is the game all devices ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.