da1nerd / prism

A 3D game engine written in crystal
https://prism-api.netlify.com/
MIT License
98 stars 3 forks source link

Fix 3rd person camera controls #66

Open da1nerd opened 4 years ago

da1nerd commented 4 years ago

There is some slight jarring when the angle is at +/-117 degrees. See this line https://github.com/neutrinog/prism/blob/efbb22674d666f2dc16c2bf61a39fcb4be5376c5/src/prism/stdlib/third_person_camera_controls.cr#L48

da1nerd commented 4 years ago

there seems to be a bit of a wobble when you rotate the camera around the entity. This is likely the cause of the jarring.