Jump to content

Camera always focused on origin


mwpowellhtx
 Share

Recommended Posts

Hello,

Using FreeCamera,

var camera = new BABYLON.FreeCamera('camera1', new BABYLON.Vector3(0, 5,-10), scene);
camera.setTarget(BABYLON.Vector3.Zero());
camera.attachControl(canvas, false);

I can't seem to have the camera move or focus on anything else. For example, I'd like to rotate about the focal point in order to better examine top, bottom, sides, all angles. But it doesn't seem to be able to do that?

Perhaps is a question of my ignorance as to the key combinations and mouse gestures that allow such a thing to happen.

Suggestions?

Thank you...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...