We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

How to modify the default mouse interaction function

Home Forums Puzzles How to modify the default mouse interaction function

  • This topic has 1 reply, 2 voices, and was last updated 9 months ago by kdv.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #71952
    nsxdjx
    Participant

    Hello, currently the default mouse interaction function of v3d is to press the left button to rotate, zoom in the middle, and press the right button to pan. My project uses a specific interactive mouse and needs to change the default left click rotation to move the mouse rotation instead of pressing the left button. How to easily modify or use what path can quickly meet the requirements. The default interaction function of v3d should be using the OrbitControls component. Would it be too complicated to rewrite the OrbitControls component code in the puzzle to implement this function?

    #71963
    kdv
    Participant

    needs to change the default left click rotation to move the mouse rotation instead of pressing the left button

    Possible but I wouldn’t recommend using such a kind of controls.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.