bac02b5bb0
Change ray/bounding box selection so that the nearest node is determined by the actual collision point with the bounding box (or the distance to the box centre if the ray starts inside the box). Since this is a functional change from the old behaviour, I'm only committing to the trunk. This will be slightly slower than the old method, but should return the correct node; I consider accuracy to take priority over efficiency for collision. tests/sceneCollisionManager.cpp has been updated, as has examples/07.Collision/main.cpp. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2047 dfc29bdd-3216-0410-991c-e03cc46cb475 |
||
---|---|---|
.. | ||
Collision.cbp | ||
Collision.sln | ||
Collision.vcproj | ||
Collision_vc8.vcproj | ||
Collision_vc9.vcproj | ||
Makefile | ||
example.dev | ||
main.cpp | ||
tutorial.html |