browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

Camera Control Available for Purchase!

Posted by on March 1, 2013

 

Main Feature

The main function of this tool is to create a camera set up where a single object-of-interest is the focus of the scene. The implementation of this is potentially limitless for an object-of-interest in a 3D environment does not really mean that it has to be a single object in the real world. It can be a product, schematic, furniture, vehicle, layout of a room, building, or even a town – basically anything as far as they are made of polygons.

 

Outcome

By setting up a scene in accordance to this tool, you could easily get a scene where the object can be panned and rotated 360 degrees (although doing 360 degrees mostly gives the users a bad headache!). The scene is controllable via left mouse button and dragging on PC, Mac and Linux, as well as swiping on touch screens. The function and code used in this tool is the basic GetMouseButton and is therefore a generic function that can be applicable to various devices.

 

Use Case

This list is not limited to what will be mentioned, but here is a list of scenario where you will find this tool useful:

  1. A 3D character design portfolio.
  2. Packaging design of a product.
  3. Showcase of a material.
  4. Furniture virtual showroom.
  5. Engineering schematic or diagrams.
  6. Trophy showcase scene that could be a part of a game.
  7. A 3D storybook where a scene is shown via 3D scene.

 

Parameter

On this Demo Scene, there are a few parameters on display that could be adjusted. Below are the details of these variables.

Camera Top Limit – Determines the top limit (maximum) position of the “look at” target of the camera.

Camera Bottom Limit – Determines the lowest limit (minimum) position of the “look at” target of the camera.

Top Rotation Threshold – Determines the position where the camera will start tilting upward, creating an effect of looking down on the object-of-interest.

Bottom Rotation Threshold – Determines the position where the camera will start tilting downward, creating an effect of looking up on the object-of-interest.

Camera Movement Speed – Determines the speed of the camera panning up and down. The higher the value, the less you need drag/swipe to pan the camera up or down.

Camera Rotation Speed – Determines the speed of the camera rotation (vertical rotation only). The higher the value, the less you need to drag/swipe to tilt the camera upward or downward.

————————————–

Edit
Camera orbit now available for purchase at Unity3D Assets Store at $5.00!
Link: http://u3d.as/4hz

4 Responses to Camera Control Available for Purchase!

  1. J. Sinoti

    Hi,

    I bought the script today, and I’m with some problems because I don’t want the camera moving on vertical on this dummy I can just change he value Camera Movement Speed to zero, and when I move the mouse up I can see a top view of the object but on the code that I received when I change this value I can see the top view. I another question it about the zoom, this script has this feature?

    Cheers,
    J. Sinoti

  2. Sergey

    Is it possible to remove the inertia? that would not be rotated (at Input.GetKeyUp(KeyCode.Mouse0))

    • Alvin Herawan

      If you meant to turn off the auto rotation, there is a boolean variable that you could set to false, so that the rotation stops.

Leave a Reply to Sergey Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>