Hey guys I’m using an actor as a Checkpoint for my videogame. Basically I just created an actor and added a box collision (and a static mesh) as a component. I need to set OnComponentEndOverlap (for the box collision of course) how can I make this work? I am a blueprinter and with bp it’s so easy, this may be a silly question!
Thanks a lot
(ps. I don’t want to use a trigger volume, I need an actor!)
I did exactly that (only difference OnComponentEndOverlap.AddDynamic) and still can’t print when my pawn overlap it! This is the function I wrote in the .cpp
I have no idea how to make this work so far!
You need to check the collision details for the box collision comp and all actors it needs to overlapped and set the “Generate Overlap Events” check box. Also
UFUNCTION in declaration before OnOverlapEnd is must be (u need to check it) otherwise it won’t work.
Thanks dudeeee!!! I forgot to add UFUNCTION() my bad
Now it’s working but it prints two lines when should just print one, any reason for this? I tried also to add the event from blueprint and it’s still printing two lines
Mb you forgot to delete this call in blueprint? Also try to use AddUniqueDynamic - this can be the reason too (it depends on what is going on and between what).
Nope nothing in the bp! and plus if I play it in standalone I can’t see the box while in editor yes. Idk maybe I am missing something here’s my code btw