Door open blueprint

In order to make the door open for the player when clicked, I used a similar technique to picking up items. Since my cursor was already set up it made this process simpler.

For this, I needed to make the beams and door an actor class and reset them within the blueprint. The door also needed to be imported several times to get the source rotation right, as it was rotating in the middle instead of to the side.

A box is then added in order to know when the player is touching the doorScreen Shot 2017-02-07 at 18.35.13.png

The blueprints to this are fairly simple, all was needed was to allow a connection between the box and the player controller, as well as set up the ‘E’ button to rotate the door.

Screen Shot 2017-02-07 at 18.42.00.png

The timeline added is to regulate the speed of the rotation.

Screen Shot 2017-02-07 at 18.42.16.png

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s