06.06.2018, 21:08
I was wondering how i can destroy object on collision with something?
I know on which coordinates will collision happen (its r1,r2,r3) but im not sure how to destroy object on that coordinates?
I know on which coordinates will collision happen (its r1,r2,r3) but im not sure how to destroy object on that coordinates?
Код:
CA_RayCastLine(p1,p2,p3,x + (dist * floatsin(-r, degrees)),y + (dist * floatcos(-r, degrees)),z,r1,r2,r3);