Guides

VRTK_IgnoreInteractTouchColliders

extends VRTK_SDKControllerReady

Overview

Ignores the collisions between the given Interact Touch colliders and the colliders on the GameObject this script is attached to.

Required Components:

  • Collider - Unity Colliders on the current GameObject or child GameObjects to ignore collisions from the given Interact Touch colliders.

Script Usage:

  • Place the VRTK_IgnoreInteractTouchColliders script on the GameObject with colliders to ignore collisions from the given Interact Touch colliders.
  • Increase the size of the Interact Touch To Ignore element list.
  • Add the appropriate GameObjects that have the VRTK_InteractTouch script attached to use when ignoring collisions with the colliders on GameObject the script is attached to.

Inspector Parameters

  • Interact Touch To Ignore: The Interact Touch scripts to ignore collisions with.
  • Skip Ignore: A collection of GameObjects to not include when ignoring collisions with the provided Interact Touch colliders.