Comments (4)
I think the controller events could have a public method to call the rumble code. Then you can call it yourself whenever you want.
And the interactable object can have a rumble amount for touch, grab, use. Perhaps have a global rumble amount on interact classes too
from vrtk.
I'm not sure why the SteamVR_Controller TriggerHapticPulse method only works when it's continuously called. It seems the ushort duration
parameter is actually the strength of the vibration and has nothing to do with the amount of time the vibration lasts for.
This is why when it's called within a button press code nothing appears to happen because the vibration happens for a split second.
This commit: 2dbcff7
Adds a working version of the haptic feedback on the controllers and includes a duration
and strength
parameter.
from vrtk.
Copying my request from my youtube conversation with you :)
Can you please include the following to your upcoming video?
"Do an example scene where a collision whilst holding an object causes the rumble"
Thanks a lot!
from vrtk.
Completed with e8e3bfe
from vrtk.
Related Issues (20)
- LateralAxis Sources Removing Automatically (HorizontalAxis)
- How to rotate the player in 45 degree steps? HOT 2
- Building Error in Design, Develop, and Deploy for VR Course Intermediate Course. HOT 2
- Unity2019.3.4f1Can't load the manifest.json for VRTK4 HOT 2
- In WebGL mode, How to set the UI(such as a button) to work properly?
- Trinus integration for a rapid tests HOT 1
- CameraColorOverlay Black OnEnable HOT 3
- Unable to edit SnapZoneHighlight HOT 2
- How can I change the walk speed? HOT 1
- Please provide update instructions to Unity 2020 on mainpage HOT 1
- errors when i selected selected sdk_oculus_avatar HOT 1
- Error with Unity 2021.2.2f HOT 1
- [problem] How to solve this problem HOT 1
- [problem] How to solve this problem HOT 1
- [problem] How to solve this problem HOT 1
- Failed to open Sample Farm Scene HOT 5
- Ask for help! [VRTK4] HOT 1
- get stuck in solid object with the teleport HOT 1
- doesn't work HOT 1
- Customize a class that inherits an InteractorFacade.cs Why can't objects be crawled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vrtk.