Charcter to hold an object that collides and can let go.

Currently the system I have setup is to move the held object towards a position in front of the player. This object is always going to be a ridigbody and I alter it’s velocity directly (with lerp) over using force (because I don’t know how to calculate force needed to reach a certain point).

The object being held can have some allowance for how fast it moves and it must collide with walls and the like, so that if the player tries to move it through a wall, the object will be let go (gravity is turned back on at this point).

Other requirements: The object’s rigidbody cannot be switched to kinematic.

I’ve been looking at joints, if this is a good method, can anyone recomend which one to use? I believe spring joint is the one I want.

Thanks!

Edit: I should probably mention that with my current setup, the reason I can’t use it is because since i’m changing the velocity directly, it means that with enough force, the object can move through thin walls with general ease.

I ended up using a rigidbody that sits inside the character’s gameObject which acts as the handle.
I create a spring joint between the object and the handle, and do some if statements checking for LOS and distance to purposely break the joint.
Spring joints are quite orgasmic.