O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Following a third-person view with a spring camera

The Away3D camera arsenal has got an additional camera class called SpringCam. SpringCam is actually a Camera3D extended into a camera with additional physical behavior which is as the camera's name implies—springing. SpringCam is well suited to create 3D person camera control systems. If you plan to develop a racing game or any other 3D person view application, SpringCam is just for that.

SpringCam has got three important physical properties to set. No need to take a classic mechanics crash course to set them, but without understanding their meaning, it can take you hours to set up the desired behavior for the camera.

Stiffness—controls the stretching factor of the spring. That is how far the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required