**context: ** I'm trying to make a vr game where the player moves in the opposite direction of the controller when grabbing something (position and rotation), which makes it look like you're dragging yourself along.
problem:
func _physics_process(delta):
if grab_component.get_just_grabbed():
grab_xform = hand.global_transform
if grab_component.is_grabbing():
var relative_xform = hand.global_transform * grab_xform.affine_inverse()
player.global_transform *= relative_xform.affine_inverse()
the seemingly works the first few seconds but after sometime everything starts to jitter and shearing occurs, so the transform is messed up but I don't know why. (see video)