#Any good resources/tips for making a grabbing system like Amnesia or the Bethesda RPGs?

1 messages · Page 1 of 1 (latest)

remote sand
#

I want to implement grabbing but the only resources I can find are about picking up objects instead of the dragging and swinging type grabbing I'm trying to emulate. Think the doors and cabinets from Amnesia and picking up clutter with the z button in fallout 3 and Skyrim.

bold garden
#

The way I'd do it is by having a control node that follows your player's cursor a fixed distance away and while an item is grabbed, have it attempt to follow the movements of the cursor. Each object might also have a weight value attached to it that affects the speed of how quickly an object can be moved

Maybe also have an area3d surrounding the node and if the object leaves this area, make the player let go (object is stuck, too heavy, etc.)