Jump to content
 

Recommended Posts

Hi all,

I am trying to handle multiple Input events from 4+ Vive Trackers in our UE4 Sim but am unable to do more than 2 and the 2 I get don't come with a signature just passing a generic trigger event.

I saw that VIU does handle what I need but it is only for Unity. Any possibility of porting to UE4 or is there a UE4 solution related to VIU?

This is for a large project and am open to any help,

Thanks

@MariosBikos_HTC

@chengnay

Share this post


Link to post
Share on other sites

@PJninja I don't quite get what do you mean by "don't come with a signature just passing a generic trigger event".

By the way, what role did you set for your trackers in SteamVR's "Manage VIVE Trackers"?

Share this post


Link to post
Share on other sites

@PJninja I did manage to get input event from Tracker role that are not set as Held in Hand.

You need to modify your tracker json file to corresponding role.

For example,

{
    "name": "Default bindings for Vive Trackers",
    "controller_type": "vive_tracker_left_knee",
    "last_edited_by": "UnrealEngine",
    "bindings":
    {
        "/actions/main":
        {
            "sources": [

                {

                    "mode": "trigger",
                    "path": "/user/knee/left/input/trigger",
                    "inputs":
                    {
                        "click":
                        {
                            "output": "/actions/main/in/GrabLeft"
                        }
                    }
                }

            ],

            "poses": [
                {
                    "output": "/actions/main/in/special4",
                    "path": "/user/knee/left/pose/raw",
                    "requirement": "optional"
                }

           ]

        }
    },
}

 

Please note that you cannot set more than 1 tracker to same Tracker role.

Even if the tracker is disconnected, you need to set the Tracker role to DISABLED.

Share this post


Link to post
Share on other sites

Please sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...