Change boolean while colliding
Hello everyone, i m trying to make an actor (Metal) to change his self attribute "electricity" when its colliding with the actor "Generator" . I put a rule on the metal actor, it says when colliding with generator change attribute electricity to true, otherwise change it to false, but it does not work , its always false, if i erase the otherwise it change to true when it collides but it doesnt go back to false, any ideas ?
Comments
when overlaps or collide with Generator and attribute is true change it to false
hope this helps
Calvin
the actors could be colliding and bouncing off each other, so maybe they hit and quickly disconnect. change restitution to 0 on both so they don't bounce away from each other
then its only true when its in contact, but false when its not touching
Calvin, the metal actor should detect if its colliding with another object with electricity, in this case the generator, so the boolean must be OFf, when its Not colliding or when its colliding but the other object has the electricity boolean in false
Is there another way to detect the other object boolean than puting all the actors unlocked, to be able to acces the other actors boolean?
Do this
When they collide then you have to change an attribute(make one global attribute and then make it a Boolean too) to actor's attrbute . Then u can use the global one to see if the other object's boolean value
I wish we have writeable tables