i've loaded an object into my game but its facing the wrong way, i've tried using the yobject rotate command but it doesn't seem to work, i'm using a 3rd person camera view of an object on a matrix, my object code looks like this
load object "bike.3ds",10
position object 10,2500,y#+100,2500
set object collision to boxes 10
texture object 10,3
scale object 10,5000,5000,5000
yrotate object 10,180
and my camera code looks like this
rem get player position and store in x#,y# and z#
x#=object position x(10)
z#=object position z(10)
y#=object position y(10)
rem get new camera position and store in cz# and cx#
cz#=newzvalue(z#,ay#-180,200)
cx#=newxvalue(x#,ay#-180,200)
y#= get ground height(1,x#,z#)
rem position the camera (x,y,z)
position camera cx#,y#+75,cz#
rem point camera at player
point camera x#,y#,z#
i think it may be something to do with the camera code but i can't work it out,
it all seemed to work when i was just using a sphere for my object, could any one give me a hand???
'You were born crying while people around you smiled'