kikonen / learnopengl

https://learnopengl.com
1 stars 0 forks source link

physics: use two phase collision check in raycast #100

Closed kikonen closed 2 months ago

kikonen commented 2 months ago

Ray cast is now doing just "iterated over objects" dcollide2, which extremely naive, and cause exhaustive amount of redundant collision tests for rays.

Need to apply normal two-phase collision logic

kikonen commented 2 months ago

DONE