This does help, but when I tried the things you told me, no luck.
I have recently started to try to make an exploding artillery shell. In theory, an impact would push an object on a slider joint, into a magnet. This would trigger an onTouch event that causes the magnet to activate, blowing the shell apart.
Now, in the "ontouch" field, I put this in: setVar("Boom",1) In the section that designates the magnet's strength, I put this in: getVar("boom")*-1000
It isn't working. What am I doing wrong?
UPDATE: Fixed. I realized the variables are case-sensitive.