Announcement

Collapse
No announcement yet.

[Plugin] Leap Motion - Event Driven

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by RobbeVlaeminck View Post
    Hi there,

    Im trying to create pinch events for the leap motion controller, but I cant get it to work. Im trying to follow the tutorial by this guy: https://www.youtube.com/watch?v=fmtBQzD7ZFE&t=70s, but he is using a very different version of the plugin. For example, the 'LeapFloatingHandsCharacter' isnt there anymore. I tried downloading the older plugin for 4.19 ( he is using 4.11, but I cant find that one anymore), but the character isnt there either.
    Anyone knows how to fix this?

    Thanks!
    Grabbing and pinching are globally available input events in the v3 plugin https://github.com/leapmotion/leapunreal#grab-and-pinch
    Plugins: GES - Node.js - TensorFlow - Socket.io Client - ZipUtility - Leap Motion - Hydra - Myo

    Comment


      Thanks for the fast response! Unfortunately I cant get it to work. I made sure its possessing player 0, and I just tried some very basic stuff like pic related, but to no effect.
      Another thing I am struggling with, is getting the hand location. I want to add a swipe effect, but when I try to get the location from the BSLowPolyHand blueprint, I only get the position on the first frame, and it doesnt look like its updating.

      Thanks for your help!

      Kind regards,

      Robbe Vlaeminck
      Attached Files

      Comment


        Hi there, Fortunately I got it to work (forgot to add the Leap Component), and everything is working great. However, every 15 minutes or so, I get this error:

        LoginId:a040fe774e4aa67b209d809985d7270a
        EpicAccountId:7cf0d61578c24b00a50570c5afe56822

        Assertion failed: !Pose[ParentIndex].ContainsNaN() [File:d:\build\++ue4\sync\engine\source\runtime\engine\public\BonePose.h] [Line: 591]

        UE4Editor_Core
        UE4Editor_Core
        UE4Editor_Core
        UE4Editor_Core
        UE4Editor_BodyState
        UE4Editor_BodyState
        UE4Editor_BodyState
        UE4Editor_BodyState
        UE4Editor_AnimGraphRuntime
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Engine
        UE4Editor_Core
        UE4Editor_Core
        UE4Editor_Core
        UE4Editor_Core
        UE4Editor_Core
        kernel32
        ntdll

        I asume its related to the Leapmotion controller?
        Any clues on how to fix it?
        Thanks!

        Comment


          Originally posted by RobbeVlaeminck View Post
          Hi there, Fortunately I got it to work (forgot to add the Leap Component), and everything is working great. However, every 15 minutes or so, I get this error:

          LoginId:a040fe774e4aa67b209d809985d7270a
          EpicAccountId:7cf0d61578c24b00a50570c5afe56822

          Assertion failed: !Pose[ParentIndex].ContainsNaN() [File:d:\build\++ue4\sync\engine\source\runtime\engine\public\BonePose.h] [Line: 591]

          UE4Editor_Core
          UE4Editor_Core
          UE4Editor_Core
          UE4Editor_Core
          UE4Editor_BodyState
          UE4Editor_BodyState
          UE4Editor_BodyState
          UE4Editor_BodyState
          UE4Editor_AnimGraphRuntime
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Engine
          UE4Editor_Core
          UE4Editor_Core
          UE4Editor_Core
          UE4Editor_Core
          UE4Editor_Core
          kernel32
          ntdll

          I asume its related to the Leapmotion controller?
          Any clues on how to fix it?
          Thanks!
          I'm not directly involved with the plugin anymore, for anything that isn't covered in the documentation I recommend reaching out on https://forums.leapmotion.com/.
          Plugins: GES - Node.js - TensorFlow - Socket.io Client - ZipUtility - Leap Motion - Hydra - Myo

          Comment


            Carlosan and others, have you managed to implement the mirroring mode? If yes, please, share the solution.

            Comment


              I've read through this forum thread pretty extensively but I am still struggling to get my own meshes to behave properly in the animation blueprint. I got some motion in the preview, but when added to the scene and run, there is no motion from my skeletal mesh, I've tested this against the default hand.







              I have a theory that the custom mesh looks so wonky due to something with the skeleton or weights not matching the default hand's skeleton.
              But I am really unsure why the hand doesn't move while running the scene.
              Any help would be appreciated. The documentation on this device for Unreal is quite sparse.

              Thanks

              Comment


                Originally posted by alexgossalexgoss View Post
                I've read through this forum thread pretty extensively but I am still struggling to get my own meshes to behave properly in the animation blueprint. I got some motion in the preview, but when added to the scene and run, there is no motion from my skeletal mesh, I've tested this against the default hand.







                I have a theory that the custom mesh looks so wonky due to something with the skeleton or weights not matching the default hand's skeleton.
                But I am really unsure why the hand doesn't move while running the scene.
                Any help would be appreciated. The documentation on this device for Unreal is quite sparse.

                Thanks
                See https://github.com/leapmotion/leapunreal#custom-rigging

                and examples found here:

                https://github.com/leapmotion/leapunrealmodules#rigging
                Plugins: GES - Node.js - TensorFlow - Socket.io Client - ZipUtility - Leap Motion - Hydra - Myo

                Comment


                  Thanks for your response getnamo,

                  I have been closely referring to these guides but they are incomplete and lead to incomplete results.
                  This does not explain why I am getting jittery animations and why the tracking animation isn't occurring in the actual game.

                  Best,
                  Alex

                  Comment


                    Has anyone had any luck getting the plugin to run in 4.24? I have been working on a project with a team and after our work we cannot get Leap to run inside.

                    Comment


                      Originally posted by k1lly View Post
                      Carlosan and others, have you managed to implement the mirroring mode? If yes, please, share the solution.
                      sadly no, sorry

                      Comment

                      Working...
                      X