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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to make the camera following drone instead of leap hands?

Hello! I am using leap motion in a drone simulator in UE4 where I am trying to control the drone using the leap motion hands. My problem is that the camera is based on the leap character/hands instead of following the drone, so when the drone is moving forward you can't really see it after a while. What I want to do is to make the camera following the drone, no matter where the leap hands are. Is there a way to do that and how could I do it? Thanks in advance.

Product Version: UE 4.14
more ▼

asked Oct 06 '17 at 06:13 PM in Using UE4

avatar image

1 1 2

avatar image TestyRabbit Oct 06 '17 at 06:48 PM

I don't have much experience with the leap motion in UE4, but I'm guessing your controller pawn is the hands? And they have a camera attached to them?

avatar image Killer-Rabbit Oct 06 '17 at 07:11 PM

Yes. Can I make the camera be attached on the drone while the leap hands are still appearing on screen?

avatar image TestyRabbit Oct 06 '17 at 07:30 PM

I see, so you want both the drone and the hands to appear on the screen. One way to do that would be to just have your Hands actor follow the drone around. So when your drone moves your actor moves.

avatar image TestyRabbit Oct 06 '17 at 07:32 PM

Alternatively, if you don't care about the hands staying in the camera, you could follow what Mindfane says in his answer here here. Essentially change the player's camera to be the camera on the drone instead of the one on the hands, in which case the camera would no longer be following the hands around, it would be following the drone around

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

0 answers: sort voted first
Be the first one to answer this question
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