Hello, I have a chase cam which works in Dark Basic but it doesn't work properly in DB Pro (It Continually flips the camera over the object). Can someone help me with this?
Also, Is there a better way to do this then with 2 Objects???
Thankyou!
function chase_cam(objid,chase_objid)
camdist#=250
camheight#=100
pitch object down objid,11
move object objid,0.0-camdist#
position object chase_objid,object position x(objid), object position y(objid),object position z(objid)
move object objid,camdist#
pitch object up objid,11
position camera object position x(chase_objid),object position y(chase_objid)+camheight#,object position z(chase_objid)
set camera to object orientation objid
endfunction