Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioSourceHapticPulser can't be placed on another game object #460

Open
fight4dream opened this issue Oct 29, 2019 · 2 comments
Open

AudioSourceHapticPulser can't be placed on another game object #460

fight4dream opened this issue Oct 29, 2019 · 2 comments
Projects

Comments

@fight4dream
Copy link
Contributor

the audio source haptic pulser uses filter read, it has to be right beneath the audio source.
but the way it is presented in the inpsector deceived us to think it can be placed elsewhere.

image

Solution

Add a hidden component to filter read at runtime, just like CollisionTracker will add CollisionTrackerDisabledObserver

@thestonefox
Copy link
Member

https://docs.unity3d.com/ScriptReference/RequireComponent.html

this adds it at edit time

@fight4dream
Copy link
Contributor Author

it is slightly different. i want the haptic pulser free to be on any object, not necessarily stick to audio source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
VRTK
  
Ready To Be Worked On
Development

No branches or pull requests

2 participants