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

Equipping the object

Now, being able to pick up and drop a torch is pretty neat. However, it would be much more exciting to have our player actually move around with the torch in front of the player as if he is holding it.

Engage Thrusters

Thankfully, this is pretty simple to implement.

  1. Open up Kismet once again. Create a Remote Event action by right-clicking and selecting New Event | Remote Event. Inside its Properties window change the Event Name value to Equip. Create a new object variable (by right-clicking and selecting Create New Object Variable) in order to place in the Instigator position.
  2. To the right-hand side of the Remote Event "Equip" action, create a Set Physics action by right-clicking and selecting New Action | Physics | Set Physics ...

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