#I need help with camera's trigonometry.
1 messages · Page 1 of 1 (latest)
if I written anything wrong in the equation.
also, the function that I'm using to calculate the triangle is this one
float DistanciaDaBaseDaCameraParaLocalSelecionado(float height, float angle)
//b(cateto) = tan(angle) * height(Outro cateto que temos)
=> Mathf.Tan(angle) * height;
}
I need help with camera's trigonometry.