Hello.
I have a raycast. When I press a button, it should ideally do two things
Move a rigidbody to near a CharacterBody3d
Keep the rigidbody in the same relative position around that character body
Best example is gameplay from Control. Pick up an object it zooms to the character - it stays hovering around the character until it is thrown
I can detect what object is being selected, but moving the Rigidbody near the Characterbody is really hard/awkward. The best I can do is an impulse that ends up making the block hit the player. Attached is my code and a small vid.
Any advice to get closer towards the solution would be a big help 😭
edit: Found how to properly get the diff between 2 vectors (documentation came in clutch) but it still does not work right 🥹