Noob question about Casting/Overlapping Trigger

Xanadron
Sun, 12 Feb 2017 21:35:29 +0000
Blueprint

Hi, i am trying to create a climbing system so i started by creating a blueprint which is based on a trigger box and an arrow which is supposed to be the wall rotation and location. I am using a ‘‘move component to’’ to move the capsule to arrow’s location and the same for the rotation. I store these variables in the BP_Trigger and use them in MyCharacter. Where everything goes wrong is when i place two BPs of the same class in my level. When overlapping the second placed TriggerBox it rotates and moves my character to 0 0 0 of the world and in some scenarios it keeps the second location but the rotation is still based on the first placed BP in the level? I changed the index number of the ‘‘get’’ node when casting to the BP and it chooses the second placed actor as the default one…so i guess it has something to do with this. Any advice is much appreciated!

12 posts - 1 participant