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

Editor camera pan bug #422

Closed
DaveTheGameDev opened this issue Mar 25, 2019 · 2 comments
Closed

Editor camera pan bug #422

DaveTheGameDev opened this issue Mar 25, 2019 · 2 comments

Comments

@DaveTheGameDev
Copy link

@DaveTheGameDev DaveTheGameDev commented Mar 25, 2019

Release Type: Official Release/GitHub (please choose appropriate option)
Github
Version: Version number and/or git branch
v3.1.0.1-beta2

Platform(s): Does the problem occur on Windows, Android...?
Windows Editor

Describe the bug
Camera panning in the editor does not take editor camera rotation into account. This causes the pan to ignore direction of mouse movement depending on direction facing to (left becomes right if you rotate the camera to face - on the x axis)

To Reproduce
Steps to reproduce the behavior:

  1. Face direction so panning causes camera to move left when mouse is moved to the left.
  2. Turn 180 degrees and pan to the left again and notice how your camera moves to the right (same direction as if you did not turn around at all)
  3. Turn 90 degrees and now panning to the left causes the camera to move either forward or backwards.

Expected behavior
Panning to a direction with the mouse should pan in that direction the mouse is moved

Screenshots
This screen shot moves the camera to the right if facing this direction and panning left with default editor settings
image

Additional Context
Video showing the pan issue.
Mouse is always moved to the left.
https://www.youtube.com/watch?v=v9fidHT52nA

@DaveTheGameDev DaveTheGameDev added the bug label Mar 25, 2019
@Eideren

This comment has been minimized.

Copy link
Collaborator

@Eideren Eideren commented Mar 25, 2019

Probably my fault, I'm on it !

Eideren added a commit to Eideren/xenko that referenced this issue Mar 25, 2019
@Eideren Eideren mentioned this issue Mar 25, 2019
1 of 7 tasks complete
@DaveTheGameDev

This comment has been minimized.

Copy link
Author

@DaveTheGameDev DaveTheGameDev commented Mar 25, 2019

Nice work @Eideren. She is working perfectly now!

phr00t added a commit to phr00t/FocusEngine that referenced this issue Mar 25, 2019
pan direction Fix for xenko3d#422
xen2 added a commit that referenced this issue Mar 26, 2019
@Kryptos-FR Kryptos-FR closed this Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.