Grab Action

Overview

Grab Action is a feature that collects user inputs and redirects those to grabbed actor. Additionally, Grab Action can play extra animations while grabbing an actor. This means, grabbed actors can execute their own logic or play custom animations on input. UFO Controller in the demo is a great example for this feature. You should definitely check that out.

Functions

Get State functions returns the current state of a button.

Grab Action functions plays and clears the extra anim or blend.

Event Dispatchers

Use event dispatchers to trigger your custom logic. These dispatchers are triggered when an inputs is either pressed or released. They also return which input is fired from which hand.

Example

This example plays an animation on Button 1 and Button 2 press and clears them on release.

This example set a blend animation to play and sets the coordinates of the blend based on the trigger value.

Last updated