O'Reilly logo

Mastering Game Development with Unreal Engine 4 - Second Edition by Matt Edmonds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required