I was trying out collision with sparkys collision but I cant seem to get it to work. Could you guys help?
`%ProjectTitle%
`======================
`%Author%
`======================
`Source File Name
make object sphere 1, 20
make object plane 2, 100, 20
sc_setupobject 1, 0, 1
sc_setupobject 2, 0, 2
position object 1, 0,0, - 130
position camera 0, 0, 20, -150
do
oldx# = object position x(1)
oldy# = object position y(1)
oldz# = object position z(1)
if upkey() = 1 then move object 1 , 1
if leftkey() = 1 then turn object left 1, 1
if rightkey() = 1 then turn object right 1, 1
if SC_objectcollision(1,0) = 1 then position object 1, oldx#, oldy#, oldz#
loop