Limiting the rotation of a model in a 3D PDF

Learn how to limit the rotation of a 3D model so that it can only pivot on certain axis.

By June 24, 2006

 

Using a 3D JavaScript you can limit the orientation and rotation of the the camera to control your models. The following examples show how to do this:

Constrain Camera JavaScript
The Constrain Camera javascript is a 3D javascript to prevent the camera from tilting to the side (positive Z-axis is always up). It also scales up or down the "Walk" tool by a settable factor.
Download [JS: 5 KB]

Camera Rotate JavaScript

The Camera Rotate javascript an advanced script that replaces the default camera rotation functionality with a version that makes the model feel like it has some mass.
Download [JS: 16 KB]


Did you know?

  • You can ask a question and get an answer from one of our experts.
  • You can search our database of over 800 tutorials by product and/or topic.
  • You can leave a comment below for the author of this tutorial.

Related topics:

JavaScript

Top Searches:

Edit PDF, create PDF, Action Wizard

0 comments

Comments for this tutorial are now closed.

Comments for this tutorial are now closed.