PROMETHIA-27 / bevy_mod_wanderlust

Apache License 2.0
66 stars 12 forks source link

Minor QoL changes #29

Closed 66OJ66 closed 1 year ago

66OJ66 commented 1 year ago

Hi,

This PR just makes 2 minor changes to the first person example:

  1. Adds a rotation lock to the PlayerBody - this prevents camera shake whilst moving up slopes/into objects
  2. Confine the camera's vertical rotation between up and down - this prevents the camera from being vertically rotated 360°