Interactions | Refactor XRTranslate to enable distance-based translation speeds
## Summary Add distance-based translation speed scaling to XR object translation for improved precision and responsiveness when interacting with objects using far/near interactor controls. ## Problem or need Currently, XR object translation uses a constant speed, which makes it difficult to precisely position objects when they are close and unnecessarily slow when they are far. This results in unintuitive and inefficient interactions, particularly in VR environments where users expect responsive, natural-feeling controls. ## Proposed solution Implement a distance-based scaling system that adjusts the object’s translation speed based on its distance from the interactor. When the object is far from the hand/controller, translation speed is increased to allow quick repositioning. As the object nears the interactor, the translation speed slows down to allow for fine control. This can be achieved using a linear or non-linear interpolation function (e.g., `Mathf.Lerp` or `Mathf.Pow`) to calculate the scaled speed dynamically during interaction updates. ## Alternatives considered - **Constant speed** (current behavior): Simple but lacks flexibility and precision. ## Additional context n/a
issue