Here's the basic code for the collision so far:
setupobject 100,0,1
setupcomplexobject 1000,1,2
do
sync
updateobject 100
oldx#=object position x(100)
oldy#=object position y(100)
oldz#=object position z(100)
position object 100,object position x(100)+bmovex#,object position y(100),object position z(100)+bmovez#
x#=object position x(100)
y#=object position y(100)
z#=object position z(100)
collision=intersectobject(0,0,oldx#,oldy#,oldz#,x#,y#,z#,100)
if collision>0
newx#=getstaticcollisionx()
newy#=getstaticcollisiony()
newz#=getstaticcollisionz()
newmovex#=getcollisionbouncex()
newmovez#=getcollisionbouncez()
position object 100,newx#,newy#,newz#
bmovex#=newmovex#
bmovez#=newmovez#
endif
loop
Edit: You know, I just realized that this dll isn't good for object to object collision. I'll have to rework my code then.
AMD Athlon 64 X2 4200+
1GB DDR-SDRAM (May increase to 2GB one day)
512MB ATI Radeon X1800 Series - Finally! A card that does pixel shaders correctly!