Jump to content

Camera body


jobsboris27
 Share

Recommended Posts

Welcome @jobsboris27. Here is a playground http://www.babylonjs-playground.com/#1P7A7R showing what @Deltakosh said to do. Cameras are invisible (they have no size) The three cameras are placed at the corners of an equilateral triangle and they look in the direction of the mid-point of the opposite side. For each a box is created and the box given a camera as parent and coloured red, green or blue. Switching the camera number in line 19 changes the active camera and gives a view from that camera. If rather than a box you wanted something that looked like an actual camera then you could build one from a variety of meshes.

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...