Hihoo, i want that my player only can jump when he is touching ground, not the walls for example. Only when the lowest point of the modell touches another block or modell he can jump. How i can do this ?
Something like this would be good:
if(collision at position (x,y, z - 2/height of playermodel) ...