Problems with OnCollide color changing
Posted: Sun Dec 13, 2009 10:54 pm
Hey, I'm new to scripting, so I did a little searching and saw that in order to make something change color when it collides with something you just type in the script menu (e)=>{color = [1.0, 0.0, 0.0, 1.0]} under onCollide, with the numbers that give your desired color. So I did this, and when I run the simulation, it does nothing. Please help :/
EDIT: For some reason, it is just now working... I tried it about 10 times before with no success... I changed nothing, and now it works... Sorry :/
EDIT: For some reason, it is just now working... I tried it about 10 times before with no success... I changed nothing, and now it works... Sorry :/