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.

Need help about rotation

Home Forums General Questions Need help about rotation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #57376
    boka5
    Participant

    Hello,

    I need help with the rotation of the object when it is not in the center.

    a) If the object is in the middle/center (position 0,0,0) and the user rotates (with a left click) it rotates around itself.
    (image a)

    b) If we move an object (with a right click) and then rotate it (with a left click) it rotates the object around the middle point of the environment and object doing a big circle around.
    (images b1 and b2)

    I’m wondering if it is possible (if exists some library or anything) to rotate an object as it is described in the first case even if it is moved from the center of the environment. (image c)
    I know that verge3d actually moving the camera and not the object itself, but…

    Thank you for any help or idea,

    Boris

    Attachments:
    You must be logged in to view attached files.
    #57381
    kdv
    Participant

    deleted

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

    #57382
    solid
    Customer

    it is necessary to test, turn off the camera and make the rotation of the object on the swipe.
    tomorrow I will give a more precise answer.

    Webgl Interactive Development https://www.blend3dweb.ru/

    #57383
    boka5
    Participant

    Not sure what you mean by turning off the camera. Do you mean it’s movement/rotation?
    Okay, thank you. I have also one of my own theories.
    Hope one of them will work.

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