For the introduction to blueprints assignment, I decided to create a "magical" table, and a lamp that activates when you step into its trigger volume. Starting off with creating the blueprints, I decided I was going to use the desk from the modular fantasy house pack we've been given. In the construction graph portion of the blueprint, I created the dynamic material variable which would eventually allow me to change parameters within that material.

After this step was done, I moved onto the event graph, adding a keyboard event for when "g" was pressed. When "g" was pressed, the color of the table material would be hue shifted by a random amount. Additionally, I added functionality where the table would return to it's normal base color a short time after the "g" key was released.

For my next blueprint, I worked on my lamp blueprint. In the viewport I added a lamp mesh, a point light, and a trigger box. The point light I set to initially not be visible.

Moving onto the event graph, I added functionality for the light to become visible when the player stepped into the box. After finishing that, I moved onto making the light gradually fade away when the player walked out of the box. I did this through utilizing a timeline and the set intensity node in order to fade away the point light's visibility.


Once finished with all the blueprints, I set up a small scene with some lighting to make sure the items made a bit more sense in the scene.

Here are the final results!

No comments:
Post a Comment