this is how i use sliding collision.
'First you need an object
MAKE OBJECT CUBE 1,10
'Then make a Collision Box
MAKE OBJECT COLLISION BOX 1,-5,-5,-5,5,5,5,0
'Make object to collide with
MAKE OBJECT BOX 2,40,40,40
'Collision Box
MAKE OBJECT COLLISION BOX 2,-20,-20,-20,20,20,20,0
DO
`Position Variables
Posx = OBJECT POSITION X(1)
Posy = OBJECT POSITION Y(1)
Posz = OBJECT POSITION Z(1)
`Controls
IF UPKEY() = 1
Posz = Posz + 2
ENDIF
IF DOWNKEY() = 1
Posz = Posz - 2
ENDIF
`Collision
`I can't remember how to do this exactly (Can't remember all of the commands)
`But i think this is right.
IF SLIDING COLLISION XYZ(1,2) = 1
DEC Posx
DEC Posy
DEC Posz
ENDIF
LOOP
Of course i haven't done a whole lot of things in that (Camera, Object Positioning etc..). That's your Job.
I'm not sure if that's the right command.
Just check it in the help menu. Just press F1 on Dark Edit.
Anyways
Cya Later,
Axelman
43% of Percentages are made up on the spot.