How to make an actor disappear after the player collides with it?

I have treasure chests set up around my game for my player to collect points. I want the treasure chests to disappear from the scene after my player collides with them. Currently i have a treasure chest placed in my scene and i can continuously run into it and it just keeps coming back without the need of reseting the scene. I have the chest animated so it blows up when the player runs into it, but I want it to not come back if the player returns to that area. I only want the chest to come back if the scene is reset.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Rule:

    When actor overlaps or collides with: MainCharacterActor
    --Change Attribute: self.Color.Alpha to 0


    You may have to time this so that your animation shows before the actors alpha is set to 0. You could also destroy the actor, that's another solution. When you reset the scene, it'll return.
Sign In or Register to comment.