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.

Relative Position from Camera

Home Forums General Questions Relative Position from Camera

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18734
    Sargento
    Participant

    Hello, I’m trying to place a 3D obect in the bottom right corner of the canvas. I know it is possible to do that with HTML elements and a little of CSS, but need to place a 3d object ( included in the scene ) in that corner.
    I’ve used parenting methods as usual with the camera, an empty object and a 3D mesh. The mesh is children of the empty and the empty is a children of the camera, so when I move or orbit the camera the object follows it. Everything as usual.

    The problem is that when I change the aspect of the canvas (browser), the object isn’t just where I want it to.
    I’m sending some images as examples of what I mean.

    Is there any puzzle or known solution for that?

    Regards.

    #18738
    Sargento
    Participant

    In other words: I need the same behavior as the full-screen button but with a 3D object included in the scene.

    #18745

    If you are a Blender user, you can set Horizontal or Vertical sensor fit for the camera. Unfortunately, it is difficult to make it snap to the corner without programming.

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #18780
    Sargento
    Participant

    OK, I see.
    I think that would be a great addition.

    Thanks.

    #18797

    Agreed. Unfortunately this is not an easy thing to implement, but will have this task in mind for the future. :good:

    Chief 3D Verger | LinkedIn | Twitter

    #59006
    albi
    Participant

    Any updates on this? Is this still only possible with coding? :-(

    #59010

    Hi,

    It is actually possible without coding. You can use an empty object parented to the camera, with your object parented to this empty. Both empty and your object should have camera fit enabled, for example: to the left and to the bottom. See attached file.

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

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