I have a simple trap that shoots a spear up from the floor when the player runs over it, then retracts. It works great, except I want to be able to rotate it to make it shoot out of doorframes or walls, etc. Not just the floor.
The trap was designed with a Timeline node, Moving it up on the Z axis when triggered. The problem is, the timeline’s Z axis doesnt rotate with the blueprint asset. So if i rotate the trap 90 degrees to the right, the spears still move up (horizontally) this time) instead of to the right. Because the Z axis is still up, and that’s what the Timeline is set for.
Is there a way to have the Z axis in the blueprint asset rotate with the placement in the editor? Or at least adjust? I want the spears to shoot out towards the box collider, no matter which way I rotate the asset.
Here’s some screenshots (the get actor rotation was left over from something I tried)