function camera_follow(ENTITY* ent) { while(1) { vec_set(camera.x,vector(-250,0,90)); vec_rotate(camera.x,ent.pan); vec_add(camera.x,ent.x); vec_set(camera.pan,ent.pan); ang_rotate(camera.pan,vector(0,-10,0)); wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de