sliding collision only is possible with box collisions.
2 ways for sliding collision:
make object collision box id,x1,y1,z1,x2,y2,z2,rot
if the rot = 1 then the box is a rotating box, but for sliding collision, you HAVE to set this to 0.
get object collision(id, id2)
when this command > 0 then the commands
get object collision x()
get object collision y()
get object collision z()
will be filled with the adjustement values.
static collision.
all objects have to be converted to static objects so the sliding collision can be retrieved.
get static collision hit(oldx1,oldy1,oldz1,oldx2,oldy2,oldz2,nx1,ny1,nz1,nx2,ny2,nz2)
When this command returns a one,
get static collision x()
get static collision y()
get static collision z()
will be filled with the adjustement values
Immunity and Annihalation makes Immunihalation...