Nabla VR
DiscordRoadmapMarketplace
VR Immersive Hands v2.3
VR Immersive Hands v2.3
  • VR Immersive Hands
  • Overview
    • Tutorials
    • Changelog
    • Open Cases
    • Compatibility
    • Legal
  • Features
    • Animated Hands and Controllers (HAC)
      • HAC Components
      • HACs
    • Hint
      • Hand and Controller Hint
      • World Hint
    • Grab System
      • Core Component
        • Grab Point Constructor
        • Grab Action
      • Placeable Component
      • Placeable Base Component
      • Respawn Component
      • Physics Sound Component
    • Other Features
      • VR Pawn
      • Control Rig
      • VR Console
      • Interaction Component
      • Auto Scroll
  • Guides
    • Migrating
      • If You Only Want HAC (Optional)
      • How to Use Your Own Pawn (Optional)
    • Adding a New Hand
    • Adding a New Controller
Powered by GitBook
On this page
  • Overview
  • Functions
  • Event Dispatchers
  • Example

Was this helpful?

  1. Features
  2. Grab System
  3. Core Component

Grab Action

PreviousGrab Point ConstructorNextPlaceable Component

Last updated 4 years ago

Was this helpful?

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.