Skip to content

Disable negative rotation on the Y axis, is it possible to set via options? #66

@StefanMedia

Description

@StefanMedia

I need to use the following options for my plugin:

disablePitch: true,

minY: 0,

maxY: 90

Background is that I want to disable negative rotation on the Y-Axis for the model.

Is it possible to place these options inside the plugin init code like this?

plugins: [new View3D.RotateControl({
    
disablePitch: true,
    
minY: 0,
    
maxY: 90,

})]

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✋ SuggestionSuggest new things🙌 help wantedWant to contribute to @egjs/view3d? Start with this issue!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions