While navigating the level there are many doorways without doors.
My intention for this level is to now create some game elements to create a more enjoyable and immersive experience for the view of the environment. I intend for a lot of things to become interactive withing the level. and the first thing that seems most obvious is the doors.
After Modelling the doors to be used in the level, I next turned them into Blueprints so i can control and add properties and function to them through the event graph.
This First part of the event graph allows the player to input a key press as a way to open the door when inside the doors trigger. The Trigger is show in the next image by the Pink box.
Once the player enters the Trigger they will be able to press a key on there keyboard or controller and open the door. For now i have just used the E key and no controller button inputs. Later this will be changed for full controller functionality.
This next part of the Blueprint animates to the door to Open if Closed or Close if Open
This method uses a timeline node to edit simple transform properties of an object. This saves me having to use an animation blueprint for the Open and Close animations and allows for door collision to change as the door state changes.
No comments:
Post a Comment