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 »