Download

Problem with paperCharacter, onComponentHit and actor

Hi,

i’m new to unreal and i really enjoy this engine, but i’m stuck and i need some help.

context :

it’s a 2d game shooter like galaga (first try and at the really begining ^^) enemy are paperCharacter player ship too, and projectiles are actor

i use spawnActor from the level bluePrint for enemy and player ship and spawnActor from player ship bluePrint for projectile

i use capsule colision on each with generate overlaps event check and pawn colision preset

problem:

if i drop enemy manuely on the level, onComponentHit event is launch with other enemy, player ship and projectile but if enemy spawn on the level with spawnActor, onComponentHit event is launch with other enemy, player ship but not projectile.

i don’t find why and it’s start to make me crazy :stuck_out_tongue:

thank you

ps: sorry for my poor english (i’m french and i know it’s not an excuse ^^).

edit : a picture of how it’s done, tell me if you need more
[spoiler]
d96d63fc4c8b779d4c2bc1e3f6523658035b2d8a.jpeg
[/spoiler]