Hi ,
I’m making a First Person VR Experience , I have two problems.
1- I want the Player Character’s Navigation be like the Default UE4 one . so the user can navigate anywhere in the world . (just like navigating in UE4 editor with RightClick+WASD) I searched but just found Fly mode for character and it’s not what I want to achieve .
2- I’m using Leap motion for Player Character (Getnamo’s Plugin) and I want to know how it’s possible to Connect Player Character’s Camera Rotation to Leap motion’s Hands . like when I look up (to the Sky) my hands would also come infront of me. because now I can just see my hands when facing down or below the horizon.
I wouldn’t recommend taking the approach in #2, as hand movements should always be driven by the user. It would probably feel very disorienting to have your hands move without you moving them.
As well, the Leap Motion Controller’s tracking FOV is wider than the visual FOV of the headset, but the tracking does drop out beyond certain angles. By having the hands displayed when they’re on the edge of the tracking FOV, it greatly increases the odds of tracking loss, which would be a really frustrating experience.
If you want to change its speed you must create a new BP class inherited from SpectatorPawn and change inside the SpectatorMovementComponent (actually it’s named MovementComponent only). Don’t forget to change the Default Pawn Class to the new custom spectator class, in this case.
Great! I think that’s gonna work . but just a little problem here. As you see below,I’m using Leap motion’s Player Character … so to achieve that Spectator navigation I have to replace this “Character Movement” component with a “Floating Pawn Movement” . but I just don’t know how to replace them, because the Character Movement as you see below is Inherited from C++ Character Class . Any Guides?!
Oh, I see. Try creating a Blueprint Class and search for the SpectatorPawn Class. This class will inherit the correct movement component. Try adding the LeapAnimBodyChildActor inside the components, I’m not sure if this will work correctly, but that’s my bet…
Man I’m really having hard time solving that. I made the parent as you said (Spectator Pawn) and assigned everything from Leap Motion’s plugin the way it should be , but It’s just not working. I can’t basically control my hands.
I also tried Reparenting LeapCharacter from Character to Spectator Pawn. I asked the question in getnamo’s leap motion thread . hope to get an answer…
I just did what you said , it works like an Spectator , but when I add Mouse Input to the character it acts weird and it’s far from correct ( moves diagonally )
Wow Man! It works perfect … Just found the reason of it’s incorrect movement . in your screenshot you didn’t attach Roll <> Roll (I thought that was for a purpose) . I connected them and boom !
Thanks a million ! you just saved my life:D