Edited warhead to make it look more like real nuke. Explosion is big so zoom out maximally to see it and avoid big lag.
I consider using 8 MIRV warheads like in real trident, but it could lag too much i think.
The high density circle cannot collide with any part of the rocket except one repelling box on the top, and must have "no self - collision" on (heteroCollide := true)
OMG Now I don't really understand anything. Works perfectly for me.
The box HAS to disappear, but when engine turns off.
It seems that engine turns on/off without any reason.
Didn't know that... But IMO both bounce and repulsion are not completely proper. I don't know how to name the force that keeps things from getting through each other.
Now works. Awesome piece of script.
Maybe more physical turning mechanism like thrust vectoring would solve the problems with missile starting spinning rapidly at more sharp angle changes.
still 10/10
p.s
i'm working on AA sidewinder-like missile too, i have engine and some needed equations on paper yet
Speed of collision of this part is not crucial to accuracy, but maybe some every-fps collider could give me enough performance boost to make AA-missile.