Skip to main content

Player Input

Setting up player input for a secondary world loaded through Viewport World is slightly different than how you would do it for normal world. To make it easier for developers, we have provided three classes in Viewport World plugin in which at least one of them should be used (you don't have to use all 3).

  • Viewport World Character is a custom character class that should be inherited from if you setup inputs in character class. For example, a third person or first person character.

  • Viewport World Pawn is a custom pawn class that should be inherited from if you setup inputs in pawn class. For example, top down player pawn.

  • Viewport World Player Controller is a custom player controller class that should be inherited from if you setup inputs in player controller class.

info

Inheriting from these classes are only required if you want to load the world as a viewport world.