Getting the Actor/Class name of a collided object

So I am fairly new to unreal engine and whenever I try to do this I have trouble.

I am trying to determine the type of the object my Player actor is coliding with,

for example I wish to determine wether they are coliding with a coin object or some other object that would cause them harm.

I do not have any particular source code as this is more a hypothetical.

Any help in this would be appreciated.

Thanks

1 Like

Sounds like it’s more of Overlap than Hit, but in both cases you will have OtherActor in the function parameters. From it, you can retrieve the data you need.

1 Like