Closed mayakraft closed 10 years ago
implemented, but let's explore decelerating in place of abrupt stops.
it would be great to be able to pan around even when the deviceOrient is enabled.
gperessin, i'm still thinking on this. a problem i'm see right now is if both are enabled, panning will un-align the real and virtual horizons, and i haven't been able to imagine an elegant way to re-align them (if the user wanted, which makes sense that they might) without introducing a UI layer
i've been thinking about this some more, i might try this: if the device orientation and panning are both enabled: panning is restricted to only around the Y axis, (spinning like a top), so that the horizon stays level
or maybe when panning, deviceOrientation will be disable, only enable when cancel touch?
b379e2eb71b4cf988443349c0a0ddeca367ec4a6 it's now possible to activate both simultaneously
if deviceOrient is disabled, user should be able to pan around the scene with touches