iMove
  • Getting Started
    • 🚩iMove Set Up (Start Here)
    • Creating New Characters
    • Changing Characters at Runtime
    • Adding Custom Actions
  • Animation Packs
    • Supported Animation Packs
    • Integrated Animation Packs
    • Custom Animation Packs
  • Integrations
    • iStep
    • Strider
    • Motion Warping
    • Ragdoll Animator 2
    • Networking - NGO
    • NavMesh Agents
  • Components
    • iMove
    • iMove Interactable
    • iMove NPC
    • iMove Character Set Up
    • Dynamic Terrain
    • GVS Camera Controller
    • GVS Player Input
    • GVS Player Sounds Manager
  • Other
    • Components API Guide
    • Common Issues
    • Help Links
    • Unity Menus
Powered by GitBook
On this page
  • iMove Interactable
  • Interact Components
  • Change Character Interact
  • Follow Player Interact
  • Universal Animation Interact
  • Step 1 (Add animations to your animator)
  • Step 2 (Add the Interact Component)
  1. Components

iMove Interactable

PreviousiMoveNextiMove NPC

Last updated 2 months ago

Ensure there is a collider on your interactable object to represent the interactable distance. (Optional) Place an audio source which can be triggered On Interact Started.

iMove Interactable

iMove Interactable is a component to be placed on an object that allows the player to interact with that object. iMove Interactable, requires an Interact Component.

There are a few pre-made interact components to help you get started, however you can also make these from scratch via code if needed. Place this on your object and drag and drop it as a reference for your iMove Interactable component.

This is for interacting with an object in the world in order to change your character. When the player interacts with this component, it will change their character to the selected character index.

This is for following players or objects. When the player interacts with this, iMove NPC will take over and have the player follow that object.

For the NPC's in the demo scenes, I have placed this on a child object of the player; in order to have a reasonably sized sphere collider for interacting with.

This is for firing custom animations that have been placed in the animator. This supports NPC movement to the start location where it will then play the animation sequence.

Step 1 (Add animations to your animator)

Never modify iMoves files directly. Make a copy of the animator then store that copy somewhere in your project. Modifying an original iMove file may result in your data being overridden when iMove pushes an update.

Step 2 (Add the Interact Component)

Make sure your collider is very large so that it even overlaps into the ground. This way the player is fully inside the collider.

  1. Ensure there is an iMove Interactable on your object, then place the Universal Animation Interact on your object.

  1. Drag the newly placed interact component into the reference of the iMove Interactable.

  2. Fill out the Universal Animation Interact options.

Use NPC: Will move the player as if it were an NPC to the target destination before starting the animation.

Interact Components

Change Character Interact

Follow Player Interact

Universal Animation Interact

Within your animator controller, create a state machine for your animation sequence. If your animation sequence has more than one animation, it should look something like this: