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.

Disable camera easing effects

Home Forums General Questions Disable camera easing effects

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40445
    hermano
    Customer

    Hi forum,

    Is there a way to disable the default easing effects of the camera when zooming and rotating? Other three.js apps I have seen have a more rigid feel when rotating and zooming.

    #40456

    Hi,

    If you use OrbitControls in your application you can change that via js API by disabling the enableDamping option:

    
    app.controls.enableDamping = false;
    

    Co-founder and lead developer at Soft8Soft.

    #40457
    hermano
    Customer

    Thank you Ivan, exactly what I was looking for.

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