Skip to content

Super-Hands Mouse buggy with look-controls #197

@LorenzoVonMatterhom

Description

@LorenzoVonMatterhom

When using the examples without physics, if I enable look-controls on the camera and move cubes around, soon they dont match the pointer direction anymore.

In this example where I enable/disable look-controls on "drag-start" on the chair object the problem gets even worse:
https://testprojectxxxx.herokuapp.com/

It seems to happen because the new position of the object is calculated relatively to the initial position of the camera (ie the camera is supposed to stay locked on the same position/rotation)

Any idea of where to look in the code in order to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions