How to create an object that moves upon collision
I am creating a game from the side scroller template and I've been using using the networking tutorial to get multiple clients to spawn bombs at each other. At the moment when a pawn collides with the bomb they reach an impasse. What I would like to do is when anything collides with the bomb object (pawn to bomb or bomb to bomb) then the bomb reacts accordingly. For example if a bomb becomes stationary and a pawn walks up to it and collides then they will both block when in fact I would like to simulate the player kicking it.
Any ideas on which tutorial I can view or what setting I can work with to make this happen?
asked Nov 08 '14 at 10:23 PM in Blueprint Scripting
I think the solution, from what you have described, would be to determine if the bomb is moving. Create a isMoving boolean on the bomb that is (obviously) only true when it's moving. Then, on the players collision event, have it check the bool. If isMoving == True then Bomb hurts player, else, player kicks bomb.
answered Nov 10 '14 at 06:33 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here