Oh, why I can't make it on my scenes??? I changed the onCollide variable on my detector and the color variable on the other shape I used, but it doesn't work! That's what I did:
I put this code in the onCollide variable: (e) => {scene.my.color1 = e.other.color}
Then I put this one in the other shape's color variable: {scene.my.color1}
After entering every code I pressed enter; then I closed both variables windows and I tried to run the simulation... Nothing happened! I went back to look at the variables: the onCollide one was still (e) => {scene.my.color1 = e.other.color}, but the color one set itself to [0.0, 0.0, 0.0, 1.0]
Am I doing something wrong?
Well, I don't know what happened to Fedak, it works pretty fine for me. It is unstable, but it's not that bad! And i think it's a good cannon, so it's a 9/10 from me.
That's how I made it:
-draw a shape (for expample a box);
-select it and go to "Script menu..." (if you can't see it, go to "Options" and check the advanced mode setting);
-search "onCollide": there should be a box with this text inside: (e)=>{} ;
-put this code between "{" and "}" : Scene.addWater({vecs = [e.pos]});
-type lots of "e.pos" separated by commas and a space to get lots of particles.
A hover car is meant to float in mid-air... This thing doesn't even lift itself from the ground... 1/10 I rate it 1 just for the nice texture, else I'd rate it 0...