Convert This To B3D,Plz

BlitzMax Forums/BlitzMax Programming/Convert This To B3D,Plz

Link(Posted 2008) [#1]
Plz convert this, i need it for my program


y = terrainy( terrain, entityx(player), entityz(player))
tformpoint 0,0,steplength, player, 0
dy = terrainy( terrain, entityx(player)+tformedx(), entityz(player)+tformedz() ) ; height after the next step
if abs(y-dy) > maxStepHeight
; do not allow the step
endif


Who was John Galt?(Posted 2008) [#2]
That is B3D code, isn't it?


plash(Posted 2008) [#3]
.. Possibly blitzmax minib3d code, looks like it would work with b3d just how it is, except for the fact you have given us partial code to look at. Is terrainy a standard function? please post more info and code so we can help you out.


N(Posted 2008) [#4]
Um, it's already Blitz3D code, considering it's using ;s for comments.


Link(Posted 2008) [#5]
oh, ok,something must be wrong with it then..
txs