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"

Tablet 360 view - movement extremely jittery

Dear UE folks,

I am having an issue with creating a tablet 360 view, where the tablet view moves in accordance with how the tablet is moved in reality. So far, I have managed to get it in principle to work with the following blueprint but with significant issue.

The movement is extremely jittery, even when the tablet is lying still on the table. I think it is because the 'Get Input Motion State' is multiplied so much (to match movement of the tablet in reality), that even minor movement when placed on the table causes the jitter.

Help is much appreciated, I am sure there is better way to do this than the blueprint I am using below:

alt text

Product Version: UE 4.21
Tags:
problem.jpg (396.8 kB)
problem.jpg (396.8 kB)
problem.jpg (396.8 kB)
problem.jpg (396.8 kB)
more ▼

asked Jan 22 '19 at 01:58 PM in Blueprint Scripting

avatar image

TheoT
48 6 9 14

avatar image TheoT Jan 23 '19 at 11:37 AM

On this thread an answer was offered:

"No code needed. You can use Get Player Controller > Get Input Motion State, and use those outputs for some nodes like Set World Rotation or Set Relative Location. Fire those nodes with Tick or a Timeline. I recommend a Timeline so you can control when it's firing and keep it in its own little node network without having to attach it to Tick. I think Tick is icky and never needed in BPs.

Also, I found that Android tilt can be janky. So here's my agony-saving tip for you:

Use Gravity from Get Input Motion State. With Rotation Rate, use Break Vector and check if Y (or whatever your primary axis will be, but probably Y; same for your Gravity output) is between -.1 and .1. If so, round your Gravity Y value to the nearest 10th. Otherwise, leave it be. This essentially detects if the player is "trying" to steady their aim, and smooths it. When they aren't it lets it move naturally."

I am trying to implement this solution albeit it is a bit cryptic to me thus far.

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

1 answer: sort voted first

Solution at the bottom of this thread; peculiarly FirstPersonShooter smooths the camera movement greatly.

https://answers.unrealengine.com/questions/49795/view.html

more ▼

answered Jan 23 '19 at 02:30 PM

avatar image

TheoT
48 6 9 14

(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