Minimum Translation Vector — that’s the unsung hero behind collision resolution in Unity. In this video, we’ll dive deep into how Physics.ComputePenetration works under the hood to calculate the smallest possible push needed to separate two overlapping colliders. You’ll see how to visualize MTVs in the Scene view, auto-resolve intersections smoothly, and trigger feedback events when penetrations start, persist, or end. Whether you’re building a custom character controller or crafting your own physics logic, understanding MTVs will completely change how you think about collisions in Unity.
Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre
🔔 Subscribe for more Unity Tutorials / @git-amend
Discord: / discord
#unity3d #gamedev #indiedev
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 CollisionPenetration
3:30 Pentration Demo
More Useful Code:
https://github.com/adammyhre?tab=repo...
Unity Utility Library: https://github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: https://gist.github.com/adammyhre/475...
Other Recommended Tools (Affiliate Links)
Magic Circles - https://assetstore.unity.com/packages...
Cartoon VFX - https://assetstore.unity.com/publishe...
Scene Notes - https://assetstore.unity.com/publishe...
Beautify - https://assetstore.unity.com/packages...
Wingman - https://assetstore.unity.com/packages...
Favorites Window - https://assetstore.unity.com/packages...
Logwin - https://assetstore.unity.com/packages...
TimeScale Toolbar - https://assetstore.unity.com/packages...
Odin - https://assetstore.unity.com/packages...
Odin Validator - https://assetstore.unity.com/packages...
Hot Reload: https://assetstore.unity.com/packages...
Better Hierarchy: https://assetstore.unity.com/packages...
Better Transform: https://assetstore.unity.com/packages...
Better Mesh Filter: https://assetstore.unity.com/packages...
Editor Console Pro: https://assetstore.unity.com/packages...
Any Object Finder: https://assetstore.unity.com/packages...
Kybernetic Tools: https://assetstore.unity.com/publishe...
Sisus Tools: https://assetstore.unity.com/publishe...
Prime Tween - https://assetstore.unity.com/packages...
Rabbit Logger - https://assetstore.unity.com/packages...
Follow me!
https://linktr.ee/gitamend