Interactable Actors

From PSwiki
Revision as of 01:24, 30 October 2020 by Talad (talk | contribs) (Created page with " You can create actors the player can interact with, there are already some predefined templates: * door * doubledoor * sliding door * light * particle Each one has one stati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

You can create actors the player can interact with, there are already some predefined templates:

  • door
  • doubledoor
  • sliding door
  • light
  • particle

Each one has one static mesh (mandatory), which will be activated by the player. MUST be visible and collision query enabled.

To create a new actor in a level follow the steps below:

  • Choose the type of actor, example door
  • right-click on the InteractableDoor template and choose "create child"
  • name your child, example : DelverHouseDoor
  • Open it and change the mesh if needed, you can change position, scale, rotation, materials. You cannot delete the nodes on the left tree
  • Check the properties and depending on the object you will have the ability to set:
    • Sound on Toggle
    • Interact Distance (distance between the CENTER of the actor and the player to allow him to interact)
    • Direction and Move Distance (only for sliding doors)