Quote:Original post by stromaQuote:Original post by johnnyBravoand just said that but not make collision detection for all positions one by one, just make it when you fire and find where the bullet will go with the line. again bullet will go to position but it will not make any collision detection in air. isnt it a good technic for really "fast" bullets? (i see, for slow ones other one(that you mentioned) is better..)
why not have the bullet moving, and between its position and next position check whatever infront of it for a certain distance, so you dont miss any collisions
i just want to know if it is usable., i mean i am not betting on it is the best. just an idea [wink]
since per bullet movement, it is instant, you use a line intersection equation.
And then you can make the bullet movement really fast...