Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMO-Style Camera #11

Open
baumberger opened this issue Oct 20, 2021 · 1 comment
Open

MMO-Style Camera #11

baumberger opened this issue Oct 20, 2021 · 1 comment

Comments

@baumberger
Copy link

Hi there, maybe a MMO-style camera could be a nice addition to the examples. Would definitely help me out as I'm very new to Bevy:-)

Quick outline would be as follows.

  • Camera follows the player entity
  • Player and the camera are rotated while pressing right mouse button (player at rotation centre)
  • Camera but not player is rotated while pressing left mouse button (player at rotation centre)
  • W/A/S/D for movement (A and D move the player sideways but do not rotate the player)
  • Left/right mouse button also allow to change the angle of the camera wrt the player
  • Left/right mouse button hides cursor while pressed
  • Scroll wheel changes distance to player (FOV)
@BlackPhlox
Copy link
Owner

Sorry for the late reply, I might be looking into this at some point, in the mean time, take a look at bevy-wow. I'm quite impressed with the code, though it looks to only work with a custom bevy branch atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants