Start with something simple like this first
sync on
sync rate 30
autocam off
make object cube 1, 1.0
make object cube 2, 1.0
position object 1, -1.0, 0.0, 5.0
position object 2, 1.0, 0.0, 5.0
do
if leftkey() = 1 then move object left 2, 0.05
if rightkey() = 1 then move object right 2, 0.05
text 0, 0, str$( object collision(1,2) )
sync
loop
Just play around and check out the other collision commands to see how they work and how you can use them.
*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++
http://www.matrix1.demon.co.uk