Comments (6)
Closed, see Trello card (https://trello.com/c/OI53wkQo)
from newtonvr.
I think we probably will implement this soon. Going to look at using UnityEvents instead though, they seem pretty nice.
from newtonvr.
Great. Looking forward to upcoming updates. Do you have any plans of a slack channel to be able to expand the community around this?
from newtonvr.
I started implementing some events like this for item attachment/detachment too (eg omgwtfgames/NewtonVR@e4bf5ed...feature/onattach-events ).
It's not yet cleaned up as a proper pull request though since I haven't done things consistently - I started by using plain old delegate events on AttachJoint but then used UnityEvents on InteractableItem. I think UnityEvents is probably the better option since the Inspector integration can be useful and I don't see any significant disadvantages.
Some discussion about how we should implement this consistently across the library would be good.
from newtonvr.
Yeah this is 100% needed. I had a bunch of this setup for my old hand control library that I'd like to move over to this.
from newtonvr.
Another nod for this. I use UnityEvents heavily in my own script framework - they are incredibly useful! Can hook up simple behaviours in the inspector without compiling. Very convenient when adding general polish and effects too.
from newtonvr.
Related Issues (20)
- Offset colliders break interactables
- VR does not exist in the namespace HOT 2
- NVR Interactable Item - OnUseButtonDown fires before 1f HOT 2
- Option for hand controller always-on physics? HOT 1
- Spawn interactable item to hand
- Reset orientation not working
- Not working with Oculus HOT 2
- Issue with Fast Moving Game
- The FlowerGun example is firing the wrong direction. HOT 1
- Documentation out of date HOT 2
- Custom Hand Issues
- How can I detect when the headset is successfully tracking?
- Oculus Rift CV1 Key mapping error HOT 3
- Teleport script breaks using Unity
- Unity project broken HOT 1
- How can I test the example by using HTC VIVE?
- NewtonVR compile error after SteamVR update. HOT 1
- Updated SteamVR 2.0.1 compatibility HOT 6
- Oculus Quest Support HOT 1
- [NewtonVR] Critical Error: Oculus / SteamVR not setup properly or no headset found. UnityEngine.Debug:LogError(Object) NewtonVR.NVRPlayer:SetupIntegration(Boolean)
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 newtonvr.