Check if the other collider is a player

Hey, I’m trying to create a pickup system and am stuck checking whether or not the thing colliding with the pickup is actually the player.

you could just set your collision sphere/box/capsule/ etc to have it ignore everything but the PAWN under the collision in the defaults

Thanks, that worked.


Still, is it possible to check if the the other colliding actor is the player?
In my case I can’t have the first object ignore everything but the pawn, as suggested here.


The person you asked hasn’t been on in a few days by the looks of it…

But yeah, there’s several ways to check. Here’s just two ways:

  1. Check to see if the actor is equal to the player pawn.
  2. Give the player a tag, and check to see if the actor has the tag.