i’m new to Unreal 4 and Game Development in general but not to programming (20years experience in pascal,basic,java,c++ etc.)
Now i’m trying to create a Flying 2d SideScroller in Unreal 4.10 via Blueprint and run into some problems.
Maybe someone can gimme a hint over the following topics?
If i fire a shot (Paper2D.PaperSpriteActor) from my Plane (Paper2D.PaperCharacter) onto my Target (Paper2D.PaperSpriteActor) my collision (Block all) won’t trigger. Nether the less, as soon as my Plane (OnComponentHit Capsule) hits the Target, the collision(OnComponentHit Sprite) triggers.
What i’m doing wrong here?
Since i can’t figure out how to fix 1, i build my own simple collisiontrigger in my shot via LineTraceByChannel/BreakHitResult, which works fine.But how do i call my function “Destroy”(Public) inside my target?
My Plane should fly inside bounderies.I’ve already set LevelBounds but can’t find any properties to check if i reached them.
Or do i have to use the Camera? Can someone gimme a hint?
Thanks in advance!