animation collision

Blitz3D Forums/Blitz3D Programming/animation collision

TTT(Posted 2003) [#1]
Can anyone help !!
I`am trying to shoot an animated android,
I`am using a sprite as the bullet and a 3DS model as the android
The problem is detecing the collision, I`ve tried the sphere to sphere command but it does not seem to work, I`ve also tried the "line pick" method but this only seems to work sometimes and is not at all accurate.
Can anyone tell me the best way to go about solving this problem


Ross C(Posted 2003) [#2]
I don't know if this helps, but you can't detect collisions between two moving objects. Sorry i can't help with the code tho. Don't have an experience working with animated models :(


Ken Lynch(Posted 2003) [#3]
Have a look at

http://www.blitzbasic.com/codearcs/codearcs.php?code=750

for line pick collision and also

http://www.blitzbasic.com/codearcs/codearcs.php?code=751

for some more complex collisions using line pick.

It also might be an idea to post some of your code to see where you might be going wrong.

Ken


TTT(Posted 2003) [#4]
Thanks guys

I`ve looked at the sample code,
Just got to figure it out now , May take a while !!