Kerbal-VR icon indicating copy to clipboard operation
Kerbal-VR copied to clipboard

RotationUtil should take rotation of the hand into account

Open JonnyOThan opened this issue 1 year ago • 1 comments

JonnyOThan avatar Oct 10 '22 13:10 JonnyOThan

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.

JonnyOThan avatar Oct 12 '22 11:10 JonnyOThan