Unity

Mastering Unity’s Time.deltaTime​

Mastering Unity’s Time.deltaTime Unity 3D Essentials In any 3D game you’re likely to encounter a situation where you want to do a time-based feature.For example, moving an object or character X units per second. Using Time.deltaTime is going to help avoid frame-rate dependence. What is Time.deltaTime? The time in seconds between the last frame and […]

Mastering Unity’s Time.deltaTime​ Read More »

Unity Collisions

The aim of this post is to summarize: What’s required for collisions in Unity How to setup some basic collision detection When OnTrigger and OnCollision are called and when they aren’t What’s required for collision to occur? For collisions to be detected by Unity, there are 2 components that are of particular importance: 1. Rigidbody

Unity Collisions Read More »

Coroutines

Coroutines When working in Unity and you find yourself asking the following questions: How can I make sure task A finishes before I can do [task B]? How do I delay a method by X seconds? How can I wait for a condition to be met before continuing? How can I wait for a response

Coroutines Read More »

9-Years

Background In August 2017, I had been dating my girlfriend for over 9 years (indeed, we were dating since high school). I was ready to ask the big question, but I wanted to do something meaningful… so I built a game to help me! I had put off writing this blog post since then as

9-Years Read More »