Unity Collision Cheat-Sheet – Discrete vs Continuous
Автор: Tarodev
Загружено: 17 окт. 2022 г.
Просмотров: 43 990 просмотров
Each collision mode offers a unique collision mechanic. Knowing which one to use is key for solid gameplay and performance.
Discrete is the most performant option and should be used whenever possible. Calculations collisions each fixed step.
Continuous uses a sweeping algorithm to guarantee collisions from a linear motion, but is quite a bit more expensive than discrete and only hits static colliders (no RB).
Continuous dynamic is the same as continuous, but hits dynamic colliders (and is more expensive).
Continuous speculative creates a bounding box around itself and its next projected frame position according to its current linear and angular motion. Anything caught within will collide.
❤️ Become a Tarobro on Patreon: / tarodev
=========
🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD: / discord
✅ MORE TUTORIALS: / tarodev
0:00 Discrete
0:40 Continuous
1:05 Continuous Dynamic
1:25 Continuous Speculative

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: