Creating the door system in "Forgotten Memories"

 Author: Jared Barker

Date: 2/20/2023 

6:25 PM EST

Xodius Studios Blog #2:

Creating the door system in "Forgotten Memories".

The Problem:

For this week, I was working on the door rotation and the button to the door for the player to interact with.
The door wasn't rotating when the player interacts with the button. So it's supposed to do that if the player goes to the door button (the button being an actor to the door), the camera shows the door being opened at  90 degrees from the z-axis. When testing the door, the camera shows the door, however, the door didn't rotate at 90 degrees from the z-axis. This can be a problem because if the player is stuck on a puzzle, then they won't be able to get out of that room if the door was locked.

The Solution:

After running a few tests on the door while debugging it, I figured out that to rotate the door, I had to set the relative rotation to the value of the yaw(which is the z-axis) from the door's position. After that, I had to connect the yaw to the door timelines track I created. When all of that is connected, I test the button one more time, and the door manages to rotate. So if the player is stuck in a room and presses the button, they can leave the room without having to deal with the issues from the door. 

Comments

Popular posts from this blog

Puzzle Level Design and Inventory UI

Level Streaming in "Forgotten Memories"