-
-
Notifications
You must be signed in to change notification settings - Fork 984
Open
Description
Environment
- Source of VRTK (GitHub).
- Version of VRTK (GitHub master 9e7ea2c).
- Version of the Unity software (e.g. Unity 2019.2.0f1).
- Hardware used (Vive).
- SDK used (OpenVR).
Steps to reproduce
- Open Example Scene
- Search for RightInteractor, there is a CollisionTracker component
- the collision tracker has a ForwardingSourceValidity rule CollisionValidity
- look into CollisionValidity. it basically says: the game object should Not contain IgnoreInteractorCollisionTag
- Search for WellBase. It has IgnoreInteractorCollisionTag.
- Use visual studio debug mode attach to unity, and put break point in CollisionNotifier.CanEmit()
- Use right hand to touch WellBase. Find out that the ForwardSource game object is the RightInteractor and the rule accepted (returns true) because right hand has no IgnoreInteractorCollisionTag.

Expected behavior
I expect the intention of the set up is to check whether the 'target' can be touched (emit collision event) rather than always check on the 'source'.
Current behavior
The source checking has very limited use.
Metadata
Metadata
Assignees
Labels
No labels