Basic physics based object pickup's icon

Basic physics based object pickup 1.0.0 Demos 3.4 Community

Submitted by user cptfurball; CC0; 2021-11-18

DEMO: https://youtu.be/wTyDLJK8Mww

Movement controls:
'W' - Move forward
'S' - Move backward
'A' - Move left
'D' - Move right
'Left Ctrl' (hold/toggle) - Crouch

Pick up controls:
'E' (toggle) - Pickup object
'T' + Mouse move (while holding an object) - Rotate object in space
'Left click' (while holding an object) - Throw object

How to use the pickup?
To allow and object to be picked up, you will need to create the rigid body object using the LightProp custom node. Only objects using this node will be allowed to be picked up.

The rigid body to be picked up will react to its surroundings. Blocked by a wall? It won't budge. Try anyway? It will automatically drop the object on the floor.

If you do not need the player, you can swap it out with your own player controller. But reattach the Container and the Crosshair node provided in this project as it serves as a way to mount and detect rigid body. Just make sure all the referenced nodes in all the scripts are referenced correctly according to your own hierarchy.

Whats fun?
Swing the object and release it and the object will be carry on with its momentum. Or use it as a base starter for your next "Amnesia"-esque adventure game.

What is not working?
The rigid body weight will not influence the way it is picked up but only the throw distance.

Want to buy me a coffee?
Patreon: https://www.patreon.com/cptfurball


View files Download Submit an issue Recent Edits