okay now i just cannot teleport outside of a small area otherwise the rotation works fine
function Script:UpdateWorld()
VR:SetOffset(0,0,0,0,avr,0)
--teleporting feedback
if VR:GetControllerButtonDown(VR.Right,VR.AButton) then
VR:TriggerHapticPulse(VR.Right,50)
end
--player turning right
if VR:GetControllerAxis(VR.Right,VR.TouchpadAxis).x > 0.15 then
VR:TriggerHapticPulse(VR.Right,20)
avr=avr+5
end
--player turning left
if VR:GetControllerAxis(VR.Right,VR.TouchpadAxis).x < -0.15 then
VR:TriggerHapticPulse(VR.Left,20)
avr=avr-5
end