I am trying to figure out how I can have the camera follow behind my plane and I am having no luck. I got it to where it does follow but when the plane turns the camera doesn't follow it right, and just ends up facing one way only. Here's my code:
...
If CameraData#(Follow)=1
SetCameraToFollow(1,15.0,10.0,2.0)
EndIf
...
Function SetCameraToFollow(Num,Dist#,Height#,Smooth#)
X#=Object Position X(Num)
Y#=Object Position Y(Num)
Z#=Object Position Z(Num)
A#=Object Angle Y(Num)
Set Camera To Follow X#,Y#,Z#,A#,Dist#,Height#+Y#,Smooth#,1
Point Camera X#,Y#,Z#
EndFunction
I could post the whole code from the game but it's 250 or so lines. Any questions ask, and any help is appreciated. Thanks in Advance to those who post.
-------------
I'm Batman....