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.

Restrict Blender camera panning

Home Forums Graphics / Blender Restrict Blender camera panning

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #38381

    Any chance to restrict the panning distance of the camera? Currently, only rotation and zooming limits can be set. I tried to use object constraints in the puzzles on the camera, but it makes the camera behave in a crazy way, all over the place.

    Or… make the camera return to a default position after the user pans too far? :scratch:

    #38405

    Hi,

    this feature is difficult to implement… but may be you can use physic for that purpose?

    Chief 3D Verger | LinkedIn | Twitter

    #38439

    Hi,

    this feature is difficult to implement… but may be you can use physic for that purpose?

    Do you mean having a box that the camera would collide with etc.?

    In the meantime, I found an alternative solution that is forcing the camera back to the initial position. Not ideal, the user may find it annoying being “punished” for going beyond limits. See the puzzles in the attachment

    EDIT: the script only limits one direction at each axes

    Attachments:
    You must be logged in to view attached files.
    #56127
    felix
    Customer

    Hello. I also have this problem.
    I tried making the puzzles Marcin showed, but they don’t work. I’m new to this world of web and script, I probably am doing something wrong.
    I was wondering if there is another possibility to limit panning with Blender. Thanks

    #60209
    saalemv3d
    Participant

    Hi,

    Please read this form discussion, it may help you. Browser to the second page to see the JavaScript code.

    How to limit the camera panning

    #60215
    creAteo
    Participant

    Good morning,

    I know Blender 3D well but I’m a complete beginner with Verge3D. The complementarity of these two software impresses me a lot.
    I realize my first tests. Being French, the explanations are often difficult because I do not understand them well or do not exist.
    To completely restrict the camera so that it no longer moves or zooms, is there a direct command that would invalidate the movements by making them impossible ??

    Thanks,
    createo

    creAteo - graphiste - Animateur -Formateur

    #60217
    kdv
    Participant


    or

    or

    Puzzles and JS. 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 meaning at all.

    #60235
    creAteo
    Participant

    Thank you for this very quick response.
    I continue my exploration of this essential Blender add-on ;-)

    creAteo - graphiste - Animateur -Formateur

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