x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Leap Motion Plugin Network Replication

I'm trying use the Leap Motion plugin to give networked VR pawns their own Leap Motion controlled hands.

At the moment, I'm using UE4.13 Preview 2 and the Oculus CV1. I have modified the HMDLocomotion pawn to add a LeapEchoRiggedHandsActor as a Child Actor on the camera. When running a single instance of the game on one computer, this works great, I can see some rigged and animated hands thanks to the Leap Motion. When I package and run the project on two different computers, one hosting and one as a client, my network session blueprints work correctly - both players can see each other, and can see hands on the VR pawns, but the hand animations for all VR pawns are driven by the local player's leap motion device.

Essentially I think I need to modify the LeapController.cpp file to correctly replicate rigged hand animation data from clients to servers, and vice versa.

Has anyone else tried this? Is this the correct way to approach the problem?


Related questions;

Product Version: UE 4.13 Preview
Tags:
more ▼

asked Aug 17 '16 at 06:41 AM in Blueprint Scripting

avatar image

6ead2ebf
29 1 4 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi ! I'm not working on this issue for now cause I have to focus on other things. But I will later for sure.

I think there are two ways to solve this:

  • Serialize the LeapHand data and send it to the server. The server send this data to all other clients. Each client then unserialize the data and animate the hand properly. This solutions needs a quite advanced knowledge of Unreal animations which I don't.

  • Following the How to use it - Blueprint - Event Driven of https://github.com/getnamo/leap-ue4, you can send manually each bone position and try to animate the hand properly. The issue is the same, you need advanced knowledge of Unreal animation. But if you display sphere shapes at bones position you will see hands though the network

  • Modify the whole plugin to make hands replicated using Unreal replications mechanics. I think this is the cleaner and easier way to do it as you suggested.

Since I'm quite a beginner in UE4, I suggest you also look into your own solution too so you may find a better one !

Good luck ! Best regards.

more ▼

answered Aug 18 '16 at 08:52 AM

avatar image

NymKappa
692 32 22 56

avatar image 6ead2ebf Aug 19 '16 at 03:26 AM

Thanks for the input! I'll post on the Leap motion plugin forum if I find a good solution.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question