Okay i thought i had solved it. My method was to position the object not touchign the level but so close that it looked like it was so when it collided it had to be touching the ramp. So i though if collision occures i could just position it higher along the y axis so i put this in y loop:
ZPOS=object position z(1)
XPOS=object position x(1)
if object hit(1,2)=1
YPOS=YPOS+0.0.1
position object 1,XPOS,YPOS,ZPOS
endif
But it just returnes my to the place i started. Any ideas to why this happens?.
[EDIT]
Okay i forgot to mention i am using the move object command for the control control of the object ans spining it on the y axis.