#UnityTips Here is a nice and fast way to check if a polygon in 3D space is convex or concave.
Basically get a normal for each edge and calculate the dot product with the next edge. Compare the direction and if the sign changes it is concave.#math #coding #indiedev #gamedev pic.twitter.com/D1W5nM2Eyt
— Binary Impact (@BinaryImpactG) April 13, 2021