Faster way of LinePicking?

Blitz3D Forums/Blitz3D Programming/Faster way of LinePicking?

Damien Sturdy(Posted 2005) [#1]
Hi peeps!

I was wondering if you could help with a lil problem im having with optimisation

Now, i have a ball colliding with a floor using the original ODE wrapper, and the ODE collision code deals with blitz>ode collisions, now

The problem is that using linepick to sort out the collisions is slow. I need another way to do it...

Ive tried using collision positions and things, and im very close, but im just not skilled enough to quite get it.

Basically, i need to know how to find out how far back to move an object along the collision normal for it to be above the ground.


Any of you Tallented Maths dudes willing to help?

Ive got all the collision information saved, so i can use any of that.

Thanks in advance!