diff --git a/src/playermat/PlayermatApi.ttslua b/src/playermat/PlayermatApi.ttslua index 46930241..44e9bde4 100644 --- a/src/playermat/PlayermatApi.ttslua +++ b/src/playermat/PlayermatApi.ttslua @@ -406,7 +406,14 @@ do for guid, pos in pairs(storedPositions) do local obj = getObjectFromGUID(guid) obj.setPosition(mat.positionToWorld(pos)) - obj.setRotation(obj.getRotation():setAt("y", rotationY)) + + -- offset the rotation by 180 degrees if the guid matches the player hand zones + local finalRotationY = rotationY + if obj.type == "Hand" then + finalRotationY = rotationY + 180 + end + + obj.setRotation(obj.getRotation():setAt("y", finalRotationY)) end end