Hi! Im new here, so… welcome!
I want to make a game that’s inspired by Harry Potter universe. I have this depulso spell that allows player to push block from a distance. I made a Depulso_Box blueprint. I added four collisions to it. When the player overlaps collision box and presses LMB, box moves in the forward direction. New position is made by Set Actor Location and Timeline with vector inside. When I overlap collision it’s setting a WhichDir variable and then through the Switch on Int it’s decided which timeline to use.
It kinda works, but sometimes, when I stand on a different side of the box, it moves in the wrong direction and after few seconds it gets back to the previous location. I have a question for you guys: do you see any other way of doing this? Or maybe you can see a mistake in my blueprint or collision boxes. I would be very thankful for some advice. I will upload screenshots from the parts of the event graph and stuff.
PS: I’m new to this engine so I guess there’s a simpler solution to this problem.