Labs

Today I played a 3D racing game... never mind? Ok, the reason why I write this was especially the "replay" after the race. Everybody who ever played 3D racing games know this and remembers the view from many cameras placed around the track replaying the whole race. These cameras rotate to focus a car, zoom in and out and also switch to the next camera when the distance from the car is closer that one. So this is what I built with PV3D. I placed 3 different cameras (front, diagonal and side), a plane (for the base) and a cube. The cube moves and rotates via the Tweener class.

  • Camera selection: "Auto" detects the nearest camera to the cube but you can also select a specific camera.
  • Camera control: Defines the focused object
  • Mouse pitch:Enables the mouse to change the view angles
  • Zoom control: "Auto" enables camera to zoom in by using the distance to the object. With "Manual" you can setup the factor and "Reset" restores the default value.
Trackback(0)
Comments (0)add comment

Write comment

busy