Find A Random Point On A Plane Using Barycentric Coordinates in Unity

Randomness brings excitement and expectation to any experience. And games are no different. With a random point, we can spawn new enemies or valuable items to players. We can even transport the player to different places in unexpected moments. In my previous post, I suggested a way to find corners of a Unity plane. In … Continue reading Find A Random Point On A Plane Using Barycentric Coordinates in Unity

How To Find Corners of a Plane in Unity

In 3D development, a plane can be used to restrict spawning area, movement area or any kind of area that satisfies your needs. Finding the corners of this area could ease our endeavor to restrict movement or finding a random point on it to spawn new objects into the game. In Unity, we can get … Continue reading How To Find Corners of a Plane in Unity