I know most people use Sparky's or buy a plugin for collision, but I was just wondering if anyone knew how to make an object push another with
AUTOMATIC OBJECT COLLISION, or if that's even possible.
AUTOMATIC CAMERA COLLISION works alright for the camera, but I want an object to push or be pushed by another regardless of the camera.
Unsuccessful attempt (object only stops):
set global collision on:sync on:sync rate 30
Dummy=1
Target=2
make object sphere Dummy,20
make object cylinder Target,20
set object collision on Dummy
set object collision on Target
automatic object collision Dummy,8,0
automatic object collision Target,8,0
move object Dummy,-100:move camera -70:move camera up 40:pitch camera down 25
do
move object Dummy,1
set cursor 0,0
print "HIT A: ";object hit(Dummy,0)
print "HIT B: ";object hit(Target,0)
print "COLLISION A: ";object collision(Dummy,0)
print "COLLISION B: ";object collision(Target,0)
sync
LOOP