O'Reilly logo

Mastering UDK Game Development Hotsht by John P. Doran

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

Adding ship functionality

You may be wondering why I did not attach the camera to our spaceship object as in the previous project. For this project, I want to have a static camera with the ship moving within the bounds of our camera.

Engage Thrusters

With that in mind, let's start creating our player's movement.

  1. Open up the Kismet Editor. Create a Key/Button Pressed event by right-clicking and selecting New Event | Input | Key/Button Pressed. Inside the node's properties under Input Names in the [0] place, put W and change Re Trigger Delay to 0.0.
  2. Create a Toggle action by right-clicking and selecting New Action | Toggle | Toggle. Connect Pressed from the Key/Button Pressed event to the Turn On input of the Toggle action. Connect the Released output ...

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