how to actor destroy other actor when touches.
X=player B=Button D=Door
i need : When X Touches B Then D Can Either be Destroyed or change its image..this way X can pass through when image change.
i need : When X Touches B Then D Can Either be Destroyed or change its image..this way X can pass through when image change.
Best Answer
-
JohnPapiomitis Posts: 6,256
Yeah you have to set that up. So i assume you have a collide behavior for x to collide with the door. Then put the collide behavior in a rule when the boolean attribute you made is false.
Answers
In actor x have a rule when it collides with b
-change attribute to true
In actor D have a rule when attribute is true
-destroy or do whatever