Is this useful for anything?

Blitz3D Forums/Blitz3D Programming/Is this useful for anything?

big10p(Posted 2005) [#1]
Came across this old demo on my HD. It basically finds where a line intersects with a box. The box can have any rotation/size and doesn't need to be axis-aligned. It doesn't use LinePick and the distance between object and target doesn't affect speed - I don't think so, anyway. :P



I just developed this from a 2D version but didn't have any real use for it. Does it even have any use? :)


jfk EO-11110(Posted 2005) [#2]
I'm sure it's useful, you should add it to the code archives, algorithm section.


big10p(Posted 2005) [#3]
Hmmm, maybe - I just can't believe that anything I've done that's maths-based is useful and not already common knowledge. :P


Damien Sturdy(Posted 2005) [#4]
..I needed this functionality by last month damnit :P Neat :)


big10p(Posted 2005) [#5]
Really? What for? lol. :P


Damien Sturdy(Posted 2005) [#6]
The car racer- to add car-car collision sounds without having to "meshesintersect".
It's pretty much complete, and has all the sounds already, but meshesintersect is slow, so i wanted to update it.
The above would let me position a sound too.
[edit]

I would have used box collision, but it didnt work for some reason- can't remember what though now.