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"

Updating Camera Component Rotation Causes Rendering Problem with HMD

I've a camera component in my pawn and using Samsung Odyssey and Oculus HMD for my game. This game is running on a rotation simulator. This simulator can rotate full 360 on pitch and roll axes. First I was having a problem to calculate correct camera rotation but I've fixed it. Related question can be found here: https://answers.unrealengine.com/questions/874384/view.html

But now since I am updating camera rotation in Pawn's Tick it causes a rendering problem. This problem is like monitor FPS problem. For example when user rotates his/her head while using HMD. The image on HMD rotates with the head a bit. When you look right you must see your right but you are seeing it a bit late. Updating frames getting rendered late.

Of course this problem is related with FPS but I am not getting too low FPS it is around 60. I am suspecting that I am rotating camera in incorrect place. For example in Unity there is LateUpdate. It is adviced to do any transformation operation in this function to get the correct result. Is there any Late Tick function to do this in Unreal?

Do I need to deep dive into CalcCamera or something how Unreal do this thing to get work? Any advice will be appreciated. Thanks

Update: I've set Pawn's Tick Group as TGA_PostUpdateWork but it seems it is worser and also tried TGA_PrePhysics it is a bit better but my problem still continues.

Product Version: UE 4.22
more ▼

asked Apr 20 '19 at 07:10 AM in VR

avatar image

94 7 10 16

(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