Scaling Objects By Two Pivot Objects In Unity

There are games that enables users to modify the state of in game objects, such as moving objects to decorate houses in Sims series. Scaling is one of the possible modification approach. You can scale, rotate and move the edge between the nodes In this demo one can modify the length of the edge between … Continue reading Scaling Objects By Two Pivot Objects In Unity

Follow After An Object in Unity

This project is about following or escaping from a target game object. In the process, follower looks at the target while following(without using Transform.LookAt) and the escapee looks opposite from where the target is while escaping. I was introduced to the game Blocksbuster! by a friend of mine. In this game there is hole collecting … Continue reading Follow After An Object in Unity

The Points On Unity’s 3D Primitive Objects And Finding Random Points

Using the mesh information of primitive objects on Unity, we can acquire the information of local coordinates of the vertices in the mesh. This information is very useful for area limitation and filling. Moreover, with the guidance of defined vertices, we can come up with new ones. I am in an increasing curiosity of finding … Continue reading The Points On Unity’s 3D Primitive Objects And Finding Random Points

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