vec_add(car.x, temp); //set car position to cone position temp.x = random(100)-50; //create random dist from -50 to 50 temp.y = 0; temp.z = 0; vec_rotate(temp, cone.pan); //rotate vector vec_set(car.x, cone.x); //add the random side dist to the car
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de