public void GrabbingHandMove(Vector3 handPosition) { float tolerance = 0.001f; Vector3 offset = handPosition - Position(); if (offset.magnitude > tolerance) { knobs.Move(offset); } }
public void GrabbingHandMove(Vector3 handPosition) { float tolerance = 0.001f; Vector3 offset = handPosition - Position(); if (offset.magnitude > tolerance) { knobs.Move(offset); } }