Kerbal-VR
Kerbal-VR copied to clipboard
RotationUtil should take rotation of the hand into account
The JSIEvaCockpitHandle in the ASET mk1cockpit is placed at an angle that makes the user tend to grip it closer to the axis of rotation. Since the point we use to detect movement is the center of the palm collider, if the user tries to rotate their hand instead of moving it, the grip position could move in the opposite direction as intended.
The RotationUtil class that we use should also allow the user to rotate their hand to turn the object. Perhaps we need a parameter to blend between rotation and translation inputs, or maybe it should be based on how close the hand is to the axis of rotation.