Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support for OrbitControls #11

@jlstevens

Description

@jlstevens

First, I would like to thank you for this useful library!

One improvement I would love to see would be some more options for camera controls. In particular, I feel it would be nice to disable camera roll in some circumstances (and keep the z-axis pointing upwards).

I've managed to patch in OrbitControls which I took from this file in three.js (demo). It works well so I was just wondering if there are any plans to support OrbitControls (or something similar) in future?

Alternatively, I would be happy to submit a pull request adding an option to useOrbitControls to elegans.

Edit: I see there was a previous pull request regarding camera controls but I don't think it was addressing quite the same issue.

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