Tag Info

New answers tagged

0

The correct formula is V = {r*cos(theta), y*sin(theta)} to get a vector from an angle with line at angle theta of length r, so your calculations look right. BUT one thing you need to account for is if the angle is negative. then you would have to add 360 to the angle. E.g. if(esacapeAngle < 0) escapeAngle += 360; Another thing you should probably ...


-2

Quaternion.Euler(x, y, z) * Vector3.forward; Or what exactly do you mean?



Top 50 recent answers are included