Under Construction

The Blog

Insights, tutorials, and stories from the world of software development.

Join my community?Contact to join
Unity
Feb 18, 2026

Physics Tunneling

This article explains Physics tunneling in Unity, which happens when a fast-moving object passes through another collider between physics frames so collision events like OnCollisionEnter and OnTriggerEnter are missed. It covers the main causes, including fixed-timestep physics, default Discrete collision detection, and inaccurate Rigidbody settings, then offers fixes such as Continuous and Continuous Dynamic collision modes, lowering Fixed Timestep, limiting speed, using Raycast checks, enabling Rigidbody Interpolation, making colliders thicker, and avoiding direct Transform movement on Rigidbody objects.

Minh Khoa
10 min
110
34
Unity
Feb 18, 2026

Lifecycle of GameObject

This article explains the full lifecycle of a Unity GameObject with MonoBehaviour, from Awake, OnEnable, Start, Update, LateUpdate, FixedUpdate, OnDisable, and OnDestroy to special callbacks like OnApplicationPause, OnApplicationFocus, OnApplicationQuit, OnValidate, and Reset. It also covers script execution order, coroutine behavior, Editor-specific lifecycle features such as ExecuteInEditMode and OnDrawGizmos, and advanced practices like dependency injection, pooling, async workflows, and separating responsibilities across lifecycle methods.

Minh Khoa
10 min
121
33
Previous
Page 8 of 8
Next