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.

sireon

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Clicking camera movement in first-person mode #47197
    sireon
    Participant

    Hi,

    The “look at” parameter specifies a 3d point where the camera should look at after the movement is done. If you want to keep the camera’s orientation the same then you can calculate the “look at” parameter by adding together the camera’s current direction/orientation vector and the new position to move to.

    I attached a test demo, where you can look around via the left mouse button and move by clicking the plane with the right mouse button.
    Hope this helps!

    Thank you!

    in reply to: Clicking camera movement in first-person mode #47154
    sireon
    Participant

    Implemented as follows. The only thing I could not implement a smooth movement of the camera from point A to click point. There is a node “tween camera to”. But I don’t understand what to put in “look at” input.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Verge3D Plugin: Teleport #47116
    sireon
    Participant

    Hello. Right now, camera movement doesn’t really look like human movement. Is it possible to add motion only on the X and Y axes? At the same time so that the camera after moving looks in the same direction as before.

Viewing 3 posts - 1 through 3 (of 3 total)