Hi, thanks for the help, i tryed your idea Van B, but without using limbs ( i dont understand them), it didn't worked. I tryed using this sub:
posplayer:
distVal#=20
yAng#=object angle y(1)
xPos#=object position x(1)
zPos#=object position z(1)
ang#=yAng#
frontX#=newxvalue(xPos#,ang#,distVal#)
frontZ#=newzvalue(zPos#,ang#,distVal#)
ang#=wrapvalue(yAng#+180)
backX#=newxvalue(xPos#,ang#,distVal#)
backZ#=newzvalue(zPos#,yang#,distVal#)
ang#=wrapvalue(yAng#-90)
leftX#=newxvalue(xPos#,ang#,distVal#)
leftZ#=newzvalue(zPos#,ang#,distVal#)
ang#=wrapvalue(yAng#+90)
rightX#=newxvalue(xPos#,ang#,distVal#)
rightZ#=newzvalue(zPos#,ang#,distVal#)
frontH#=get ground height(1,frontX#,frontZ#)
backH#=get ground height(1,backX#,backZ#)
leftH#=get ground height(1,leftX#,leftZ#)
rightH#=get ground height(1,rightX#,rightZ#)
position object 2,frontX#,frontH#,frontZ#
point object 2,backX#,backH#,backZ#
position object 3,rightX#,rightH#,rightZ#
point object 3,leftX#,leftH#,leftZ#
zrotate object 1,object angle x(2)
xrotate object 1,object angle x(3)
return
-