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"

Something wrong with AlignMeshToTheCamera in 4.13.0 in VR

After upgrading my 4.12.5 project to 4.13.0, I noticed something odd that stopped working right.. I use a font material to automatically align a bit of floating text to the camera, that way I don't need to change it's angle in a script every tick to make it face the player.. It worked great in 4.12.5, but now after the upgrade, the text is always in a different orientation, each time I start the game. Sometimes it's upside-down, other times it's on it's side. I'm pretty sure I haven't changed anything that would cause this.. So I assume it could just be a bug with this function, that they missed for the 4.13.0 update?

This is the script I use on my font material: The Script I use on my font material.

This is how it appears in editor, and how it used to be in game in 4.12.5 in VR: This is how it appears in editor

This is how it appears now, when viewed in VR: This is how it appears now, when viewed in VR

Product Version: UE 4.13
Tags:
more ▼

asked Sep 02 '16 at 11:24 PM in VR

avatar image

NikoKun
83 4 8 13

avatar image NikoKun Sep 03 '16 at 02:45 AM

Just to clarify, I've already worked around this issue, by doing this instead: alternative method

So don't worry about trying to come up with an alternative method for me. heh This alternative I'm using actually works better now anyway.

I still wanted to make it known that AlignMeshToTheCamera seems to be acting strangely now, when used with VR, in the event that this is a bug.

capture.png (108.1 kB)
avatar image Flashback Jan 17 '17 at 06:24 PM

Still happens in 4.14.3, caused by actor's world rotation. Not sure if a bug or some trickier material math required.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I've found the solution! Use your material and set the Text Render component's transform rotation to WORLD. Not RELATIVE.

more ▼

answered Oct 02 '18 at 02:03 PM

avatar image

Saniller
31 2 3 4

avatar image garrafote Feb 26 '19 at 08:00 PM

I have the exact same setup on the material and setting the rotation to absolute worked for me! Thank you!!!

Absolute rotation

annotation.png (14.1 kB)
(comments are locked)
10|2000 characters needed characters left
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