sorry, but phun version of this is probably impossible (at least for me), because of inaccuracy and lack of precision of collisions compared to lasers.
I have interesting guidance idea, and i'm working on it:
I use k-probe to get velocity,position and accel of missile.
laser radar (like in my torpedo) finds target and reads it's position and velocity.
missile calculates when it's x pos will be equal to target x pos, saves result as TimeX.
then calculates the same for y, saves as TimeY.
then compares those 2 values, and appropriately goes more vertical or more horizontal.
no, they won't be the same. if missile moves horizontally, it'l soon reach target x position, but will need way more time to reach target's height. so it'll try to go more vertical etc.
The same timex and timey (missile and target in the same pos, in the same time) is what the missile is trying to reach..
Bardzo ciekawy pomysł.
W praktyce nie bedzie niestety działał.
Phun symuluje wszystko 100x na sekundę, dość dużo do większości zastosowań, lecz tutaj zawodzi - siła wytwarzana przez silnik pochodzi z niedokładności symulacji. (i dlatego jest tym większa im szybciej sie kreci). Tez zrobilem kiedys cos podobnego (tyle ze z tlokami jak w silniku spalinowym)