Download

oncomponentbeginoverlap triggered several times

Hi,
I’m new to ue4, i’m trying to create a static mesh (cube) inside a collision box, once the player enters to the box the cube size will be mulitplied by 2, the problem that I have is that the cube is multiplied two or three times, here’s what I did :
(print for debug)

1db83f34f9747668ec5ac52eb7e18748856f05aa.jpeg


(see the printed scales)

Thank you

Yeah, on overlap is being called when your collsion capsule, arms mesh, and gun overlap. Do a check, if other actor == pawn or playercharacter, then do x.