okay, thanks for being avalible. Here's my code. I should mention that the shadow goes away if I get rid of the texture on the matrix or if I move the car off the matrix. Also the shadow seems to be affecting all objects in the program. I posted a picture. The matrix and the cube in the background are both supposed to be totally sand color. (Nice profile pic by the way)
rem Start Coding
sync on : sync rate 60 : hide mouse
rem matrix
make matrix 1,5000,5000,256,256
load image "media\textures\sand1.jpg",1
get image 1,0,0,256,256
prepare matrix texture 1,1,1,1
randomize matrix 1,2
update matrix 1
rem main object
load object "Media\Police Car\H-Police Car-Move.3DS",1
loop object 1
set object speed 1,10
yrotate object 1,180
fix object pivot 1
rem position main object
z#=2500 : x#=2500
rem other objects
make object box 2,100,100,100
position object 2,3000,0,3000
texture object 2,1
rem main loop
do
rem controls
if S#<1 then if upkey()=1 then S#=S#+0.01
if S#>-.5 then if downkey()=1 then S#=S#-0.01
if leftkey()=1 then a#=wrapvalue(a#-2.0)
if rightkey()=1 then a#=wrapvalue(a#+2.0)
rem momentum slow down
if S#>0 then S#=S#-0.005
if S#<0 then S#=S#+0.005
if S#>0.009 and S#<-0.009 then S#=0
rem move car
y#=get ground height(1,x#,z#)+0.3
if y#>0.5 then S#=S#+0.003
yrotate object 1,a#
x#=newxvalue(x#,a#,S#) : z#=newzvalue(z#,a#,S#)
position object 1,x#,y#,z#
rem make tires spin realisticly
OS#=S#*100
set object speed 1,OS#
frame#=object frame (1)
set cursor 275,150
if S#>0 then if frame#>23.99 then set object frame 1,5
if S#<0 then if frame#<5 then set object frame 1,25
rem camera
X# = Object position x(1)
Z# = Object position z(1)
aY# = object angle Y(1)
bX# = Newxvalue(X#,aY#-180,8)
bZ# = Newzvalue(Z#,aY#-180,8)
Position Camera bX#,3,bZ#
Point camera X#,2,Z#
rem end loop
sync
loop
[Mod Edit]: When you post code in, highlight it with the mouse afterwards and click on the Code button at the top. This puts it in a code box and also doesn't lose any indentation you have in it. TDK
Daygamer