Skip to content

Draggable cube stops working if zoom out too much #8727

@NicolasRannou

Description

@NicolasRannou
Description of the problem

If we zoom out too much in the draggable cube example, at some point dragging stops working because the plane we use as a reference for dragging is "too small".

Can we make this "invisible" plane always cover the THREEJS renderer so its size doesn't matter and we can zoom out as much as we want?

I am not sure which would be the best way to implement such a feature for perspective and orthographic camera.

Three.js version
  • [x ] Dev
  • [x ] r76
  • [x ] all
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS
Hardware Requirements (graphics card, VR Device, ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions