rem Begin main loop
repeat
rem camera movement with chara
if keystate(19) then gosub run
if upkey()=1 then x#=newxvalue(x#,a#,1) : z#=newzvalue(z#,a#,1)
if downkey()=1 then x#=newxvalue(x#,a#,-1) : z#=newzvalue(z#,a#,-1)
if leftkey()=1 then a#=wrapvalue(a#-5.0)
if rightkey()=1 then a#=wrapvalue(a#+5.0)
rem Update character
y#=get ground height(1,x#,z#)+50.0
position object 1,x#,y#,z#
yrotate object 1,a#
rem Position camera to the back of the character
cx#=newxvalue(x#,wrapvalue(a#+180),90)
cz#=newzvalue(z#,wrapvalue(a#+180),80)
cy#=get ground height(1,cx#,cz#)+120.0
position camera cx#,cy#-20,cz#-10
rem Point camera at object
point camera x#,y#,z#
sync
I got the cam to stick behind(found that code in a 3rd perason tutorial), everything works now. Thanks to all. the joy, lol
right now I'm making wireframes for charas. . .
When you convert it to .x format do you need to rename it to .3ds or something cause it doesn't convert the .max files(I think).bye for now, be back in 3-5 days, got to regulate my internet hours(got a dodgy plan).