hi,
i have used the set camera to follow command before, although i now wish to use it for a different model, which is bigger, so i have adjusted the hieght and distance values.
it begins fine with the camera following behind the object, although when i turn the object 180 degrees the camera does not stay behind the object but faces the object front facing, until you turn it back 180 so it is now facing away from the camera, does anyone know how i can get the camera to remain behind the object at all times?
LOAD OBJECT "Attack.x",7
POSITION OBJECT 7,3000,800,3000
XROTATE OBJECT 7,270
FIX OBJECT PIVOT 7
SET OBJECT LIGHT 7, 0
// the code below is in the game loop, the code above is not
`Set up the camera to follow the F16
SET CAMERA TO FOLLOW 0, OBJECT POSITION X(7), OBJECT POSITION Y(7), OBJECT POSITION Z(7),WRAPVALUE (OBJECT ANGLE Y(7)+4),800,90,15,0
`Point the camera at the F16
POINT CAMERA OBJECT POSITION X(7), OBJECT POSITION Y(7), OBJECT POSITION Z(7)
thanks