Hey, i have car, i would like calculate of the time to collision car with wall.
I tried to use vector but i don't know how do it this calculation.
I mean computing time to collision when the car is in motion :P
Hey, i have car, i would like calculate of the time to collision car with wall.
I tried to use vector but i don't know how do it this calculation.
I mean computing time to collision when the car is in motion :P
if(ismoving) do bulletrace from angels of car to rest. distance check etc etc
Then just do it!Hey, i have car, i would like calculate of the time to collision car with wall.
...I tried to use vector but i don't know how do it this calculation.
Well, if its not in motion then there will probably no collision...I mean computing time to collision when the car is in motion :P
Okay... CoD2 is a 9 year old game and since the first days there are quadrillions of public available mods out there. Why is noone able to just download and have a 10mins look at them?!
Also there were another quadrillion of tutorials and 'How-do-I-do-a-post'-threads! (Not to mention the multifantastillion of physics-threads on wikipedia on a simple speed calculation, teached by every 5th grade teacher)
But instead ever since there are community places to ask (all kind *cough*) of questions, there are also ones posted in the way ive complained above.
Okay, now just THINK!
you've known this since ages: [voodoo]SPEED = DISTANCE / TIME[/voodoo] wth...
Last edited by serthy; 30th January 2014 at 22:12.
IzNoGoD (30th January 2014)
Please use the search function.
http://killtube.org/showthread.php?8...vement-vectors
http://killtube.org/showthread.php?8...ttrace-and-you
When it's so easy, then why make such a hassle out of a question? I guess respected others is teached in the Kindergarten ^^
Serthy published his tank mod here: http://killtube.org/showthread.php?1...OAD-COD2-TANKs
It's a stand alone mod, so you don't need to fizzle with loose scripts around and you can just fit the variables to fit your vehicle type, then port it over into your mod (don't forget credits ofc)
timescale 0.01