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"

Umg widget moving when setting draw size

I have a umg widget that i scale with my zoom but when i do so it moves in the world and becomes very skewed in the X and Y. The code i have is this: alt text

Edit: I solved it by using set world scale 3d instead

Product Version: UE 4.19
Tags:
example.png (150.3 kB)
more ▼

asked Aug 15 '18 at 08:30 PM in Blueprint Scripting

avatar image

FittFräsen
23 2 3 7

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

3 answers: sort voted first

Used scaling instead of draw size and it worked like intended

more ▼

answered Aug 24 '18 at 10:56 AM

avatar image

FittFräsen
23 2 3 7

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

Could you demonstrate it with with a screenshot of what happens during run time vs your expectations?

If you see the widget change location abnormally during scaling, it could be caused by the pivot of the component set to something other than 0.5 | 0.5 or by the way the embedded 2d widget is nested in its parent.

There might be other things causing it, of course, but these would be the first items to check.

Could you provide a screenshot of the widget hierarchy as well?

more ▼

answered Aug 15 '18 at 08:59 PM

avatar image

Everynone
13.8k 74 25 58

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

This is how it looks zoomed in(fine except for the fact that i want it to be higher up but that doesn't have to do with this)alt text

This is zoomed out: alt text

zoomedin.png (372.8 kB)
zoomedout.png (71.8 kB)
more ▼

answered Aug 16 '18 at 12:59 AM

avatar image

FittFräsen
23 2 3 7

(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