SketchyPhysics Missile
-
Hey,
I'm building a sketchyphysics missile, and i've gotten it to have a big long white cloud to follow it and that it has an exhaust flame which both don't show up on start-up (this is intended).Now, once the missile hits something, i'd like the emitters of the exhaust flame and the cloud to stop.
Also, i'd like the thing it hits to explode, (0.5 seconds after colliding) with a fireball, (most likely created by emitters which are on the missile and which start on collision).The explosion like I would like it:
The explosion would be, the missile is gone, and all the objects in a radius of x(definable in the script) are flung away at a speed of y(definable in the script), the amount of force the objects surrounding it receive varies, depending on how close they are to the detonation. The difference between this and the thing the missile already does is that,normal: the objects are pushed away and not all are gone, only those that have been pushed away by the missile
explosion: they are thrown away into all directions with much more force.Also, the emitters for the exhaust trail and flame seem to weigh a LOT. A missile with these is much slower than a missile without that and has much less energy. (by the way, the energy, in what units is it?)
Can one of you script experts help me? I've attached the model, please tell me how to do this, I'd really like to learn (with this i don't mean how to make a script, i mean how to insert a script and what to insert so that the effect I would like, happens.)
Sorry for my not so understandable wording,
Thanks really much,
Swindeledit: I have made something that explodes the house really well when i hit b (for bomb) The problem is, i have to press b. How can i make that, when the missile hits the house, the pistons of the explosion go off at full force (and stay like that)? Thanks.
-
I Kinda upgraded your missile to explode, smoke and flame disappear but i kinda have trouble making the whole missile disappear!
Hope you enjoy this!
P.S: I just saw this thread came up when i searched for ruby scripting help!
-
Wow nice! Mind making a tutorial explaining how you did it?
Advertisement