Hi everyone,
I would like to attached htc vive controller to the feet of a person so that it’s walk is perfectly render in Unity.
Do you guys know any existing scripts or have any clue where I should be looking to achieve that ?
Thanks a lot.
Lucas
Hi everyone,
I would like to attached htc vive controller to the feet of a person so that it’s walk is perfectly render in Unity.
Do you guys know any existing scripts or have any clue where I should be looking to achieve that ?
Thanks a lot.
Lucas
It sounds like you want some sort of inverse kinematics (IK) solution. An asset such as Final IK might do what you want. I believe that Sixense has something like that for the STEM/Hydra. I believe that Unity also has some built in IK functions. Also it might be a little easier to buy a couple of Vive trackers and attach those to your feet rather than Vive controllers. Actually, I’d also be surprised if someone hasn’t written something specifically for the Vive trackers.
Get some Vive Trackers (Not controllers) which can attach to whatever you want and use them as IK goals. You can’t control the accuracy of intermediate joints without more trackers but for walking it should be relatively accurate for the foot goal itself.
Here you go: HTC Releases Full Body Tracking Code for Use with Vive and Trackers
You need three trackers plus controllers.
Thank you very much,
I’ll dig this.