bigorangemachine / ksp-kronalutils

The Unlicense
19 stars 10 forks source link

0.0.4 Camera Rotation Feature: SPH #13

Closed bigorangemachine closed 9 years ago

bigorangemachine commented 9 years ago

When in the SPH using the view control buttons: Bottom left: glitches out after one click (before clicking anything else). that 'below value' needs restriction in some circumstance. Top left: prevents glitches if smallest increment is applied twice (to top 'c' and top reverse 'c') to top 'c' (left of up arrow) and top reverse 'c' (right of up arrow) glitch on first click unless above is clicked first.

Possible fixes: Resolve the part of (Quaternion.AngleAxis(0.2f, this.control.Camera.transform.right) * this.control.direction; creates the glitch and wrap in an if statement for the SPH.

bigorangemachine commented 9 years ago

This fix needs to be confirmed?

deckblad commented 9 years ago

I was able to fix this by reorienting the camera differently in SPH than VAB. Camera looks DOWN in SPH and FORWARD in VAB. The camera was previously "gimbal locked" and unable to rotate around the ship.