Blueprint scripting example – moving platform and elevator

As I'm sure you can imagine after all of this talk, this class, and the work implementing its gameplay, will be done almost exclusively in the editor (there are ways you can always hook C++ to blueprint, which will be discussed near the end). So, start off by opening the editor and going in the content browser tab to our Content | FirstPersonCPP | Blueprints and right-click, like we have done before, to make a new class:

Click Actor as the parent class for the blueprint, and name it MovingPlatform. Now, we have a completely bare-bones actor we could place in our world, but it doesn't ...

Get Mastering Game Development with Unreal Engine 4 - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.