1 of 5

Extras: Launch Pad

Game Development 2

2 of 5

Goals

By the end of this lesson you will be able to:

  • Create an actor that “Launches” a pawn in a selected direction.
  • Create actors that is destructible when it comes into to contact with a pawn.

3 of 5

Activity 1

Creating the Launch Pad

4 of 5

Creating the Launch Pad

  1. Create a new Blueprint Class Actor
    1. Name it Actor_LaunchPad
  2. Add a mesh of your choice to the actor
  3. Change the mesh size to be appropriate for a launch pad
  4. Change the mesh collision preset to “OverlapAllDynamic”

5 of 5

Creating the BluePrint

  • Go to the actor’s EventGraph
  • Add “Event ActorBeginOverlap”
  • Cast to the SideScrollerCharacter
  • Add the Launch Character Function
  • Selected desired values for your game