Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by mcgrottys · Oct 16, 2014 at 09:12 PM · camerawindowssdkkinectmotion-capture

How can I use kinect for windows V2 with unity?

Hi guys, I've used unity for a few weeks now and now I'm trying to develop a kinect game. I tried searching for assets/plugins for using kinect V2 in unity however I haven't found much because kinect V2 is not backwards compatible with SDK 1.8 which is what many of the plugins use.

The only plugin that might work is https://www.assetstore.unity3d.com/en/#!/content/19873 however I get a bunch of errors trying to run it and they are in Japanese so I don't know what they mean.

And this tutorial which shows what I want to begin coding, but not how to link the API. http://channel9.msdn.com/coding4fun/kinect/Kinect-for-Windows-v2-SDK-and-Unity-3D.

I found that the kinect sdk 2 has unity support (http://msdn.microsoft.com/en-us/library/dn782041.aspx) but I only have the free version of unity. I am planning on buying unity pro however I would like to know how to actually link the two.

If someone can help me find a plugin that works, that would be much appreciated. I am also willing to learn how to create a plugin. All I am looking to get the (x,y,z) positions of the persons hands and I already see that kinect does most of that work for you with the API so it shouldn't be that hard to make a plugin I suppose.

Anyways I'm going to keep looking and I'll check back later to see if anyone has any updates. I'm just really surprised that there are so little kinect V2 game tutorials out.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by BahuMan · Aug 26, 2015 at 10:14 AM

As of the Unity 5.x, you'll be able to import the MS kinect package into your free Unity. All of the C# code of the Kinect SDK is very easy to port to Unity C# code. The only thing you need to take care of is some name clashes; like "Joint" is also a class in Unity, so you need to specify "Windows.Kinect.Joint" instead.

I've made a simple Unity test scene where the position and rotation of 4 boxes is controlled by the Kinect (my head, torso and both hands). If anyone is interested, I could make a brief how-to for that, but there really isn't much to it.

have phun!

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FrostyU · May 23, 2016 at 07:10 AM 1
Share

It would be awesome! If you still here, could you please make this how-to?

avatar image FranzP3 · Nov 17, 2017 at 11:21 AM 1
Share

It would be great!

avatar image
1

Answer by Landern · Oct 16, 2014 at 09:16 PM

You will have to have Pro, which i think you already realize. You will need to reference the v2 API assemblies that come from the SDK(put them in the plugin folder in your unity project). Once that is done, you will need to reference the namespace in your scripts. Finally, once that is complete, you will be able to use the classes to implement whatever is in your mind.

I'm just really surprised that there are so little kinect V2 game tutorials out.

It's in public preview, it's not released, so...

One of the examples from Armenia Unity - Diamonds - already has a github place holder, i'm sure they can't release it yet or just haven't. You can watch for it here: https://github.com/Armenia-Unity-Users-Group/Diamonds

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mcgrottys · Oct 16, 2014 at 09:21 PM 0
Share

Thanks for the response, I'll start with the trial of pro and see what happens from there.

avatar image HamFar · Oct 07, 2015 at 09:03 AM 0
Share

@Landern Hi Landern, I am learning Unity and $$anonymous$$inect (the old one -- V1 with Win7) in order to implement nonverbal mimicry; i.e. animating a Unity character (through the $$anonymous$$echAnim system) to mirror the character animated by $$anonymous$$inect. I would greatly appreciate it if you would point me to a few good tutorials for this purpose. Thank you

avatar image
0

Answer by kirillrybin · Nov 25, 2014 at 04:15 PM

Check new Unity3D packages for Kinect v2 http://go.microsoft.com/fwlink/?LinkId=513177

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by roumenf · Jan 07, 2015 at 12:57 PM

If you need more: https://www.assetstore.unity3d.com/en/#!/content/18708

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How can I show split screen or multiple camera views at the same time? 1 Answer

Camera movement Google VR gazePointer 0 Answers

Controlling Camera using Kinect SDK 1 Answer

Unity + Xbox Kinect + OSX in 2018? 0 Answers

How to resize camera view port without changing what is on screen 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges