while(1) { VECTOR to; if(mouse_right) // Recktsklick ist Bewegung und Angreifen { //while(mouse_right) {wait(1);} vec_set(to, mouse_dir3d); vec_normalize(to, 3000); vec_add(to, mouse_pos3d); c_trace(camera.x,to.x,IGNORE_ME|SCAN_TEXTURE); vec_set(maus_ziel.x,hit.x); } //[...] wait(1); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de