12.09.2012, 07:58
Okay, so I have come upon a serious problem.So far I have used only scripted DataBases, mini-games, fuel/speed system, commands, everything on my own, yet, many of you helped me when I asked for it, and I gotta say thanks.BUT now the problem is that, so far I used only algebra(my favorite part), and speed-distance physics.Now I came along a project, that I want to script, but for that, I need to understand angles.I am not saying that I don't understand them fully, but I have to use trigonometry, wich is not my favorite part of mathematics.SO, basically, I need to make an object move forward from a vehicle, and when it encounters an object/player/vehicle in its way, it explodes(Yeah, :P, a missile).BUT I may know how to make it explode(I guess I just use a loop, and check if there's any object player, or vehicle around[I am not sure if I have to use 3 loops, also give me a hint about this, please ]), but I don't know how to make it move forward.Example if I shot from a vehicle, it follows a straight trajectory, no curves, etc.(Like a normal Rocket Laucnher,NOT A HOT SEEKING ONE).Help is highly appreciated, thanks in advance, any tutorials is also appreciated, but please, just help me.