Here is an example of SIN, so that the camera is always behind an object (I use this in a race game):
AngleY# = object angle Y(10)
CameraZ# = Object Position Z(10) - sin(wrapvalue(AngleY#+90))*50
CameraX# = Object Position X(10) - sin(wrapvalue(AngleY#))*50
CameraY# = Get Ground Height(1,CameraX#,CameraZ#)+30
(This may be different in some other programs)
Let me explain this:
The SIN calculates where the camera should be, and the * 50 puts the camera 50 units behind the vehicle, I prefer math instead of the build in newxvalue (etc) commands.
Quote: "
Amd 2500+ | 1024mb pc2700 | A7N8X-X | Geforce4 ti 4200 128mb"