Quote:
Originally posted by Sep3kP2P
kjl, u got that onwall crap from newfeatures2001, and it doesnt eve work right =/ if u hold down like up and left u can go thru blocks (at least i could)
|
first off I didn't get it from newfeatures...
do you know what
playerx+1.5+vecx(playerdir)*2 does?
playerx+1.5 is right in the middle of the player
then vecx*2 = -2, 0, 2
so
(middle of player)+2 or -2
that will get the block right infront of the player....
(and like I said the onwall script isn't the best)...
I didn't feel like making a complex onwall script (I just gave the basic code merlin can do the rest of the touch ups like for onwall and ect)