when the collision begin call function ‘death’,then open game level.
i don’t where the part is the problem.
when the collision begin call function ‘death’,then open game level.
i don’t where the part is the problem.
You need to specify what the “Other Actor” is on the Begin Overlap event.
You’re running it from the player character so you’ll need to drag out from the Other Actor pin and cast to the item you need to test again.
If you have a bp_trap that you want to trigger the Death function on the player, you would do what you have currently and from Other Actor, cast to bp_trap and then continue. This tells the engine to trigger the Death function when your character overlaps the trap actor but if it overlaps a pressure plate to open a door, don’t kill the player.
you are cool.be friends.OKAY?