Camera object with the automatic target tracking ability.
| type and name | description | comments |
cam_trackinginteger, 0 .. 3 0 = Off1 = Position only2 = Chase3 = Static camera |
Tracking mode | |
cam_trspeedfloating point, 0.1 .. 10 |
Tracking speed | |
cam_distracinteger, 0 .. 1 (false/true) |
Suspend tracking | Suspend automatic tracking when camera is moved manually |
cam_restracinteger, 0 .. 100 |
Restore tracking | Restore automatic tracking after some period of time |
cam_restorefunction |
Restore now | Update camera position and restore tracking |
cam_changeinteger, 0 .. 5 0 = Off1 = Cut2 = Move3 = Look+Move4 = Zoom+Move5 = Zoom+Cut |
Target change | |
cam_chspeedfloating point, 0.1 .. 10 |
Change speed | |
cam_zoomfloating point, 0.2 .. 3 |
Zoom | |
cam_dirfloating point, 0 .. 360 |
Direction | |
cam_hfloating point, 0 .. 360 |
Height | 0=side view, 90=top view |
setTargetfunction |
setTarget | |
moveTargetfunction |
moveTarget | |
setViewDirfunction |
setViewDir | |