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"

4.7 p5 unable to translate/rotate static parts blueprint

Since I installed 4.7 preview 5, I notice the blueprint editor has an issue when I try to transform static meshes that are part of the blueprint. When translating or rotating a mesh who's mobility is set at "static", using the transformation handles in the viewport doesn't influence the mesh. The object's appropriate transform values do seem to change however. Closing the editor and re-opening it result in the display of the correct transformation. When the part is set to "movable", everything seems to work fine.

Product Version: Not Selected
Tags:
more ▼

asked Feb 10 '15 at 04:13 PM in Bug Reports

avatar image

mliem
3 3 5 7

avatar image Adam Davis STAFF Feb 11 '15 at 08:17 PM

Hi miliem,

Does this occur in a blank project with no additional content or is it limited to a specific project/mesh?

avatar image mliem Feb 12 '15 at 08:29 AM

Hi,

I updated to preview 6 and the issue seems to be fixed for some of the meshes. I can interactively move some parts around, but some remain unaffected. It seems a bit random which parts have the issue. It seems to be an issue only for imported meshes in already existing blueprints. Importing the meshes anew in an empty project doesn't seem to cause the issue. I do however notice some issue with dynamic shadows cast by stationary lights since preview 6. Shadows seem to be unstable and switch on and off.

avatar image Adam Davis STAFF Feb 12 '15 at 06:14 PM

What specific steps are you taking that reproduce this? Currently I have been unable to see this effect on my end.

avatar image mliem Feb 13 '15 at 10:23 AM

Hmm, i think I misinterpreted some blueprint functions, causing the issue. I use a construction script and several exposed variables to manipulate the position and orientation of several of the components. I do this by using the SetRelativeLocation and SetRelativeRotation functions in the construction script, assuming that relative meant 'relative to the original position.' I guess I was wrong there, and I should AddRelativeLocation and Rotation to position objects in the blueprint viewport as well as being able to manipulate them from within the editor.

I guess manipulating individual components in the blueprint editor fires the construction script as well and resets the position of the objects every time. Is this intended behavior? I assumed the construction script was only fired for instances of the blueprint. The confusing thing now is that the transformation values in the blueprint details are changing while there is no visual effect.

avatar image mliem Feb 13 '15 at 11:34 AM

I just updated to preview 7, and some things seem to have changed. I can move around objects in the blueprint editor again, so that's great. However, I don't seem to be able to set positions using the exposed variables and the construction script more than once anymore. When I compile the blueprint and create a new instance in the editor, I can set the variables once, correctly changing the positions of the appropriate sub-meshes, but when I modify the variable afterwards, nothing happens anymore. I do see the construction script fire in the BP editor, but it doesn't result in any modified object positions.

avatar image Adam Davis STAFF Feb 13 '15 at 03:19 PM

Can you show me a screenshot of what is occurring? It sounds like what I would expect depending on what you have set up in your construction script. Every time you move an object it is technically destroyed and rebuilt, which causes the construction script to fire. If you have hard values set in your construction script it may be overriding any changes you make because you are telling it "when created, do X".

avatar image mliem Feb 13 '15 at 04:47 PM

I created an example in an empty project and made a blueprint consisting of a pile of blocks. I uploaded a number of screenshots. The blueprint shows the construction script for the pile of blocks. I created two variables (test1 and test2) that have been exposed outside the blueprint. The editor initial, editor_moved and editor_moved_back screenshots respectively show the newly placed instance of the blueprint, a version where I edited the test1 and test2 variables to be 100 (and where the blocks did move accordingly) and a later version where I put the test1 and test2 values back to 0 (but where the blocks didn't move anymore). In older versions of the editor this always worked fine. Now I can only move elements once after creating them.

I tried this originally using the SetRelativeLocation blueprint function, which also worked in older editor veersions, but in that case the blocks seems to collapse onto the origin. This would be logical if the variables overwrite the transformations set in the blueprint editor. However, the blocks won't move when changing the variables in the editor, while I would expect that they move to the position provided.

blueprint.jpg (346.1 kB)
editor_initial.jpg (343.3 kB)
editor_moved.jpg (338.6 kB)
avatar image Adam Davis STAFF Feb 13 '15 at 07:01 PM

Unfortunately I haven't been able to reproduce the error on my end. Do you have any other steps I can take to try and recreate this?

avatar image mliem Feb 16 '15 at 08:45 AM

I created a little new example project showing the issue in engine version 4.7 preview 7 example project. I created two blueprints consisting of two blocks. One has a construction script setting the relative location of the second block using an exposed variable. The other block has a construction script adding to the relative location of the second block. I tried exactly the same setup in 4.6.1, and everything worked as expected. In the 4.7 p7 version, when changing the variable values from inside the level editor, the SetRelativeLocation version does nothing, while the AddRelativeLocation version only works once.

blocktest.zip (1.4 MB)
avatar image Adam Davis STAFF Feb 16 '15 at 04:48 PM

Hi miliem,

Are you using the launcher version of the editor or a source build from Github?

avatar image mliem Feb 17 '15 at 08:18 AM

I use the launcher version

avatar image Adam Davis STAFF Feb 19 '15 at 04:36 PM

This seems to be working in Preview 8 as I would expect it to. Can you update to Preview 8 and see if this is working for you?

avatar image mliem Feb 19 '15 at 04:46 PM

Indeed, I just updated to preview 8 and it seems to work fine again. Thanks for the help!

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

1 answer: sort voted first

Hi miliem,

I am going to mark this as answered for tracking purposes. I am happy to hear it is working for you. If you experience this error again, please comment and let me know so I can continue attempting to reproduce this on my end.

more ▼

answered Feb 19 '15 at 06:49 PM

(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