Re: Invalid Impact point from juModel_Collision()?

Ok, I figured out what was going on, fixed it, and sent in a new submission. Here's the readme. Until the submission gets posted, you can just add this stuff manually. If you use this and my ModelObj submission, collision will work right.
Jan. 21, 2000
Problem Description:
--------------------
1. juModel_Collision() was returning an invalid impact point. The problem was actually in jeBSP_Collision(). Info.BestDist was not initialized to a large number, so the Impact point was not getting set. Plus, the Impact point needed to be translated back into World space just like the Plane. With this and my previous modification to ModelObj, you can collide with the world using a bounding box, like you're supposed to be able to.
Modified Files:
---------------
[jeBSP.c]
In jeBSP_Collision():
Added Info.BestDist = 999999.0f; // Line 1523
Added jeXForm3d_Transform(&BSP->ModelToWorldXForm, Info.Impact, Info.Impact);
---