anthonymendez / Cart-Duty

The Unlicense
0 stars 0 forks source link

Fix inconsistent camera rotation limits #21

Open mauro-merconchini opened 6 years ago

mauro-merconchini commented 6 years ago

It seems that the clamp we have for looking up and down is having some issues. I thought I had it narrowed down to a consistent pattern, but when I was recording evidence it became wildly unpredictable.

Sometimes I could "force" my view to go past the clamp, sometimes I could go past it with no hassle, sometimes after enough rotation it would not let me rotate anymore. Originally the clamp to face up was not working, but when recording the clamp to face down was the one that didn't work. Definitely needs further investigating.

See Video 1 See Video 2

anthonymendez commented 6 years ago

Hmm, I'll look into it more once we get the movement nailed down for the carts and player.

Can you look up how other people clamp their looking rotation and compare it how I'm doing it? Code should be explanatory for the most part.

On Fri, Jun 8, 2018 at 1:00 AM Mauro Merconchini notifications@github.com wrote:

It seems that the clamp we have for looking up and down is having some issues. I thought I had it narrowed down to a consistent pattern, but when I was recording evidence it became wildly unpredictable.

Sometimes I could "force" my view to go past the clamp, sometimes I could go past it with no hassle, sometimes after enough rotation it would not let me rotate anymore. Originally the clamp to face up was not working, but when recording the clamp to face down was the one that didn't work. Definitely needs further investigating.

See Video 1 https://drive.google.com/file/d/1DYk6F1Tx6y5kSwTtoue8-ELzPxQe9E7e/view?usp=sharing See Video 2 https://drive.google.com/file/d/1q69tW1F1YXQeW7h5MekhdE3zaLV4MLE_/view?usp=sharing

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anthonymendez/Cart-Duty/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ASWXwRiPHnEjlhboFJThC6sZD0CZRAPhks5t6gUDgaJpZM4UffvE .