This website uses cookies. By clicking Accept, you consent to the use of cookies.
Click Here
to learn more about how we use cookies.
Accept
Reject
Browse
VR Forums
Announcements
Get Help
Talk VR
VR Experiences
International
Off-Topic
Ideas
Meta Horizon Worlds
Horizon Worlds Announcements
Horizon Worlds Building Questions
Horizon Worlds Collaboration Requests
Developer
Unity Development
Unreal Development
Meta Spatial SDK Development
2D Development
WebXR Development
OpenXR Development
General VR & MR Development
PCVR/Link Development
Quest Development
Accessibility Development
Developer Dashboard Feedback
SDK Development
Tool Feedback
Other VR Development
MVPs
Help
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Meta Community Forums
Developer
Unity VR
if (OVRInput.GetDown(OVRInput.Axis1D.PrimaryIndexT...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
if (OVRInput.GetDown(OVRInput.Axis1D.PrimaryIndexTrigger))
d0raem0n231
Explorer
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
04-21-2019
08:24 AM
if (OVRInput.GetDown(OVRInput.Axis1D.PrimaryIndexTrigger))
{
button = hit.collider.gameObject;
ExecuteEvents.Execute(button, data, ExecuteEvents.pointerClickHandler);
}
I wonder that what is wrong?
Warning Messeage from Unity Console
NotImplementedException: The method or operation is not implemented.
OVRInput.GetDown (OVRInput+Axis1D primaryIndexTrigger) (at Assets/Oculus/VR/Scripts/OVRInput.cs:1644)
LaserCtrl.Update () (at Assets/Scripts/LaserCtrl.cs:55)
Axis1D
input
oculus
unity
All forum topics
Previous Topic
Next Topic
2 REPLIES
2
d0raem0n231
Explorer
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
04-22-2019
05:34 AM
public static bool GetDown(Axis1D primaryIndexTrigger)
{
throw new NotImplementedException();
}
I don't understand why :s
d0raem0n231
Explorer
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
04-22-2019
07:10 AM
I found it!
if (OVRInput.GetDown(OVRInput.Button.PrimaryIndexTrigger, OVRInput.Controller.LTouch))
{
Debug.Log("Click!");
}
:'(
Post Reply