Check for player overlap specific actor

  1. Is this in the player BP and the “overlap event” is checking player against “another actor”?
  2. What is the actor you are trying to check against?
  3. Are collisions set up properly for these actors to register an overlap?
  4. Does the system register an overlap and it exits the branch as “false” (you need to print string after to see if this is the case)
  5. Where is the actor reference going when it goes off screen? (the blue line heading down)…this is almost certain to cause an error of some sort, having a reference created by one event in one execution pathway be an input for a separate pathway of execution is a bad idea
  6. Your end overlap will fire off for any actor that happens to trigger this “end overlap” event. This can cause your booleans to always be false, you should check against the same actor as “on overlap” for this to make logical sense

Hello, I am currently trying to make a check that detects what type of actor the player is currently overlapping.

However, it does not seem to return the boolean as true so I am looking for either a fix to this or alternatives for me to check for a specific actor overlap.

  1. Yes, the player bp is checking for a specific actor in the ‘another actor’.

  2. Right now, I have a pressure plate-like object that detects whether the player is standing on top of it.

  3. Yes, both actors can check for overlapping between each other.

  4. Yea, I did a print to check when the player is on the object or when the player exits the object.

  5. This one links to a ‘cast to’ that looks for that specific class, I believe I linked the class back into the equal variable to see if the ‘other actor’ is also the same as the casted actor that I have designated.

  6. This one I tried with the similar check to see if the ‘other actor’ is the same as the casted actor.

Thanks for the reply, hope some of these information would help solidify my solution.

I honestly think your issue lies somewhere in all those blue reference wires that are off screen going to execution paths that are not part of the path creating the reference. Are you getting error messages when you run this code and actually attempt an overlap?