sorry if im asking so much im just trying to get this camera code right i have these ideas but not too sure how to inplement them the code here
function main_cam(1)
`set cammode
cammode=1
`work out the angle of the object being chased
yAng#=wrapvalue(object angle y(1)+180)
`grab the objects current position
xPos#=object position x(1)
yPos#=object position y(1)
zPos#=object position z(1)
`other variables
camDist=130
camHeight=60
`work out new position
xCamPos#=newxvalue(xPos#,yAng#,camDist)
zCamPos#=newzvalue(zPos#,yAng#,camDist)
`work out camera height
yCamPos#=get ground height(1,xCamPos#,zCamPos#)+camHeight
if yCamPos# < yPos#+camHeight then yCamPos#=yPos#+camHeight
`update camera position
position camera xCamPos#,yCamPos#,zCamPos#
point camera xPos#,yPos#+camHeight,zPos#
endfunction
is for the maincam that follows the player but what im trying to do is similar to resident evil i want to rotate the player around without moving the camera.turn a direction without the camera actually pointing there immediately.then if i deside to move forward or backwards i want the camera to jump back behind me following me.i have a understanding of how to but its not all coming right.thanks for any assistance you may give.
KOOLAID