Jump to content

UE4 Support?


PJninja

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

Link to comment
Share on other sites

  • 1 month later...

@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.

Link to comment
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...