ElectricNightOwl / ArmSwinger

ArmSwinger is an artificial VR locomotion library developed on Unity 5.4. ArmSwinger allows you to use your arms to control your position in 3D space in a natural way with minimal disorientation.
http://electricnightowl.com/armswinger/
MIT License
101 stars 30 forks source link

Combine check distances for more reliable saved positions #24

Closed kjack9 closed 7 years ago

kjack9 commented 7 years ago

This change combines checksMinDistanceChangeToCheckAngles and rewindMinDistanceChangeToSavePosition into rewindMinDistanceChangeToSavePosition. This ensures that saved positions are always attempted the same frame as angle checks, and that unsafe positions are not saved as safe.