How do I get assets to collide with each other to accumulate points?

Hey guys,

So for my little level I wanted this mini-game scenario where if you throw around potions, you get points (kind of like a Link smashing pots sort of thing). I’ve managed to make a blueprint where if you (the player) collide with it, it gives you points but I can’t seem to make it react to the other potions in the room? It will only give me points if I physically walk into them which isn’t what I wanted.


Imgur

I’ve just used a print string for now instead of a U.I or anything fancy. This is all in my Level blueprints.

A small pointer:

Does it collide with other Potions?

No → Certainly an issue with collisions.
Yes → You most likely have to check “Simulation Generates Hit Events” in your mesh default (or wherever you have your collision).

I can’t seem to make it react to the other potions in the room?

What ist IT and what do you want to achieve? You mean that when you throw the object against some other object, it does not execute the OnActorHit?

I was hoping to make it so that when I throw the objects at each other in the room it will give me points. I don’t think using OnActorHit is the right way to do it but I don’t know :frowning:

Hey there! Is that in the details panel? I can’t seem to locate it.

The ‘Simulation Generates Hit Events’ I mean

In both cases that Erasio outlined, you should check the Collision Preset of your Potions.
Make sure that the Potions overlap or block (if you use Hit, it’s Block, overlap for overlap) with the channel they are in itself (eg "Pawn Only would only collide with the player, but not with other pots).

I suggest you add a print out to both OnHit and OnOverlap of your potion.

Maybe you need to wrap your potion wrap into a collision capsule (if the potion’s mesh has no collision configured)

Ok awesome! Thanks guys, I’ll try it out and update you with what happens :slight_smile:

It’s under collision.

http://imgur.com/yUuM5h0

Awesome! That’s done it, thanks! Sorry for the late reply I’ve only just managed to get into labs again.

I think it’s all sorted now, thanks to both of you - you’ve been a big help!!