Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 andreasmarxer · May 09, 2017 at 05:49 AM · shaderwindowskinect

Why do i have a delay in moving Gameobjects with Microsoft Kinect using a Kinect for Windows SDK v1.8 Packet only WHEN I HAVE A MAXIMIZED WINDOW?

I have a delay using Kinect for moving simple GameObjects in Unity when MAXIMIZING the window.

For using my Kinect v2, I implemented Kinect for Windows Package, where I used the Kinect 2.0.1410.19000 Unity Package. (You can find in the link at the end of the post) The instruction according to which i worked, you can see in this great tutorial:

TUTORIAL: https://channel9.msdn.com/Blogs/2p-start/Gesture-Control-with-Kinect-and-Unity-made-easy?ocid=player

I also use the following DetectJoint Script as described in the Tutorial Video or the Blog (Link below).

 void Update ()
 {
     if (_bodySourceManager == null)
     {
         return;
     }
  
     _bodyManager = _bodySourceManager.GetComponent<BodyManager>();
     if (_bodyManager == null)
     {
         return;
     }
  
     Body[] data = _bodyManager.GetData();
     if (data == null)
     {
         return;
     }
  
     // get the first tracked body…
     foreach (var body in data)
     {
         if (body == null)
         {
             continue;
         }
  
         if (body.IsTracked)
         {
             var pos = body.Joints[_jointType].Position;
            this.gameObject.transform.position = new Vector3(pos.X, pos.Y, pos.Z);
             break;
         }
     }
 }


Now the currious part and my problem is, the tracking works very well when I play in the Unity Editor and have the game window as default or when i play in the Build with a small windowed Game. When I maximize the game in the Editor or i have the Built as fullscrenn I have a huge delay and it isn't anymore possible to play ! Where could or is this comming from??

The turorial is also linked and based on this Blog. Here you may can catch up faster.

BLOG: http://peted.azurewebsites.net/kinect-4-windows-v2-unity-3d/

Many thanks for any help or suggestens.

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

0 Replies

· Add your reply
  • Sort: 

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Problems with depth values in _CameraDepthTexture 4 Answers

Making a character appear through 1 layer of objects but not 2 or more 0 Answers

Additive shader that gets lit? 0 Answers

Crash with 'Standard MaskyMix Scatter (Specular, Surface)' shader 0 Answers

Is kinect for windows v2 compatible with windows 10? 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