Tuesday, November 15, 2016

Let There Be Light! (Tutorial #1)

In this first tutorial we go over the basics of navigating the scene, adding objects to the scene, and manipulating the transform of objects within the scene. We also made our first Blueprint. The goal of the Blueprint is to simply turn on a light that has been added to the scene at run-time.

First we put a point light into the scene, and then we turn it off by making the lights "Visible" attribute set to false.


|
|
V


Pretty enlightening stuff.

After that, we created the Blueprint. by having the light selected, we were able to create a reference node to this specific point light. Afterwards, we were able to create a node to toggle the visibility of the light by clicking and dragging off of the reference to the light. The advantage to creating a node this way is that you are only able to create nodes that are legally allowed to execute off of the node it dragged it from. Finally we connected the nodes to toggle the light with the node that executes at the beginning of run-time called "Event BeginPlay."

Here is the Blueprint.




And here is a video of it working!


No comments:

Post a Comment