Im working on a first person game, and I want player to be able to grab rigid objects. What is generally best way to do it? I tried two alternatives:
1. connect the object with joint in front of player
+quick reaction to update position when looking around
-unlimited strength, when theres 100kg object between me and grabbed object, it still pulls it, just to be able to be in front of me
2. set custom force callback, with gravity center in point in front of me
+natural behavior of object most of time
-slow to react when looking around, doing a lot of circles around the point, adjust strength of callback/ damping just slightly makes it better
I want natural way of holding it, no forced moving to its position, but I want it to react quickly without this "dancing" in front of me.
Can someone suggest me good way?
Thank you.
