Creating a barrier in-game

How can I spawn essentially a trigger box directly in front of my character for a limited amount of time in a third person game?

Make an actor blueprint. Put a box collision in there(trigger box). Set up the collision for object types. Do your blueprints. Spawn with node “Spawn Actor of Class”.

Thanks, worked great!