I think this game can be improved, instead of scripting the boxes' colors just put that code into laser's onLaserHit event to make the game so much fluid. To broke a block, a better animation can be a help to make a nicer game.. but it needs time.
@tribalbaboon - Yes, I did it on purpose to let the viewer see how it works, hehe .
@Xray - I dont think im so talented as that, e.g. guys like you or other use more complicated math formules and logic codes.
I couldn't understand them if you guys weren't teaching me without realizing making your scenes. thanks!
You could make an infinite inertiaMultiplier'ed geometry. Then you put inside the geom and the quadcopter body, an axle, where "bend" you have to put it true , "bendTarget" , to 0 (actually to angle 0), and "bendConstant" to 10 for example.
Finally the quadcopter or "drone" will automaticlly stabilizate itself.
Or istead of doing all this exercises, you can just download my scene response and copy the geomerty and the axle and directly put in your scene .
Lol you use my fire-code but a little bit changed instead of (x)=>{...} you putted (y)=>{...} and the cod is on a lasr but, please dont tell people that is yours ..
But i have not experience writing software and i am not a software engineer, i have only 15 years old! , I think im not as clever as s_noonan , or even kilinich, hehe, but thankyou if you think that of me!