Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

improve mousedrag movements in FreeFlight Controls #219

Closed
cvan opened this issue Apr 3, 2018 · 2 comments
Closed

improve mousedrag movements in FreeFlight Controls #219

cvan opened this issue Apr 3, 2018 · 2 comments
Assignees
Milestone

Comments

@cvan
Copy link
Contributor

cvan commented Apr 3, 2018

originally identified in PR #213 (for issue #125) in this comment: #213 (comment):

not sure if it's coming from the YawMovement or PitchMovement, but the mousedrag (especially at lower regions of the screen) doesn't seem to rotate the camera correctly; it's like a lag or stutter

@caseyyee
Copy link
Contributor

caseyyee commented Apr 7, 2018

Yeah, sem to get stuttering and some inconsistencies when dragging.

Maybe something more along the lines of:
https://threejs.org/examples/misc_controls_pointerlock.html

It's a bit different in that it's not freeflight, but the mouse-locked, look and fps style controls seems a bit more what I would expect in terms of navigating a standard scene.

@cvan
Copy link
Contributor Author

cvan commented Apr 9, 2018

I also notice that the controls keep moving even after I have released a mouse click. I would agree that I would expect FPS Pointer-Lock as a default, preferred camera controls. Free-Flight is useful, but I'm not sure the demo scene is a good example of that. (out of curiosity, what are some examples of scenes where Free-Flight would be preferred?)

@cvan cvan changed the title improve mousedrag movement in FreeFlight Controls when mouse-dragging near borders of scene's canvas improve mousedrag movements in FreeFlight Controls Apr 9, 2018
caseyyee added a commit that referenced this issue Apr 12, 2018
Smoother FreeFlightController, fixes #219
@cvan cvan added this to the v1.2.0 milestone Apr 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants