1 decade ago by Vertig0
Hi!
My 'player' entity has a property called 'isInMagneto', which has a default value of false. I want to change that property to true when it touches another entity (magneto). Doing this is not a problem, but I want to change it back to false as soon as player stops touching magneto.
Thnks!
My 'player' entity has a property called 'isInMagneto', which has a default value of false. I want to change that property to true when it touches another entity (magneto). Doing this is not a problem, but I want to change it back to false as soon as player stops touching magneto.
Thnks!