I’m making an auto runner, and I’m pretty much on my last step before I can start making actual content for it, but I’m having problems with figuring out this functionality in blue prints.
Basically, what I’d like to have happen is that when the player overlaps with a trigger or box collision they will automatically turn.
This in of itself shouldn’t be too difficult, though I have an extra level of complexity I’d like to add on to it.
I’d like to make it so that each trigger defines how far the player turns and for how long. For example I’d like one turn to maybe turn the player 45-degrees to the left over two seconds. Meanwhile the next turn would force the player to turn 180 degrees over 30 seconds. These are just two examples I pulled out of nowhere. In reality I’ll just be putting in values for whatever I think would be interesting and seeing what works.
I’m still figuring out blueprints, as this is sort of a project that I’m hoping by the end of I’ll have figured out some of the fundamentals.
I know there should be a way of passing values from one blueprint to another, but I haven’t been able to figure that out yet, or how to force the player to rotate when I want to.
I’ve attached a screenshot of my turning blueprint. It’s just assigned to a button to activate because I just wanted to make sure it worked.