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"

Using Gyroscopes Orientation to move the players character camera around

So I have a third person project, but I set the camera to be first person. I want to use gyroscope in the project to move the follow camera around by moving the phone. I didn't find any documentation about this and I'm pretty new to unreal. I did look around ue4 answerhub, but I didn't find any sources that fit my needs. (Unreal version: 4.19.2, for iOS)

The only source I found is this link, but it doesn't provide much information.

Product Version: UE 4.19
Tags:
more ▼

asked May 09 '18 at 02:20 AM in Blueprint Scripting

avatar image

MorekeysOfficial
7 1 1 3

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

1 answer: sort voted first

If youre just meaning to do it by tilting the phone, I think the Tilt input event will be sufficient. it provides a vector of input axes from the gyroscope.

The example in the link was more for AR. Sounds like you want it to be more like using the tilt as a joystick.

more ▼

answered May 09 '18 at 05:44 AM

avatar image

mightyenigma
1.6k 10 15 6

avatar image mightyenigma Jul 05 '18 at 06:32 PM

Be advised, however, that Android devices all send data to the Tilt event differently, and some don't give any data for Yaw when the phone is in landscape orientation (that's what I experienced on my Android device anyway when attempting the same thing)

avatar image MorekeysOfficial Jul 05 '18 at 07:44 PM

don't worry got it working thanks anyways

avatar image mightyenigma Jul 05 '18 at 08:19 PM

If you got it working on android in landscape, could you tell us how you did it? I have no been able to do it in my project.

(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