Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if (obj.state.source.handedness == InteractionSourceHandedness.Right)
{
_rHandIKTarget.position = controllerState.GripPosition;
var offset = controllerState.GripRotation;
offset = new Quaternion(0, 0, offset.z, 0);
_rHandIKTarget.rotation = controllerState.GripRotation * offset;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.