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

checksMinDistanceChangeToCheckAngles and rewindMinDistanceChangeToSavePosition should be combined #21

Closed kjack9 closed 8 years ago

kjack9 commented 8 years ago

Currently, safe positions are saved based on the results of the last angle check. It's possible that the last angle check was before the current position, which means we could potentially be saving unsafe positions.

The easy move here is to make the two min distances identical, and get rid of the latestCenterChangeAngle and latestSideChangeAngle kludges.