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"

[Blender] How do modifiers work with Unreal?

I have a character created in Blender and am at a point where I would like to start using shape keys to position things like the eyelids and mouth. After shape keys are applied, modifiers can no longer be applied and I wanted to make sure the following modifiers would import into Unreal with no unexpected results.

Armature.

Subdivision Surface.

Lattice - Cartoon eyes.

Shrinkwrap - Eyelids.

Product Version: UE 4.11
Tags:
more ▼

asked May 09 '16 at 07:22 PM in Using UE4

avatar image

Zamithal
58 13 12 17

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

2 answers: sort voted first

I had a similar issue once and found a Blender script that was a lifesaver. The script is called ApplyModifierForObjectWithShapeKeys . py and allows you to apply modifiers on objects with shape keys.

Blender thread: http://blenderartists.org/forum/showthread.php?331724-Mirror-Modifier-with-Shape-Keys&s=722f2c1cf7798923412b93ed3bfed5eb

Script link (from the thread): https://github.com/przemir/ApplyModifierForObjectWithShapeKeys

In my experience the script works well for most cases although there are certain setups where results might be unpredictable.

Worth noting that once you export your model into a format like FBX, all Blender specific artifacts like modifiers are no longer present so Unreal will not directly see them unless the effects of these modifiers are represented in the resultant FBX. That depends on Blender's FBX export script and which features the script can successfully export so far (you may have already read elsewhere about the difficulties that Blender faces in developing an FBX exporter because they don't have access to the proprietary format among other issues).

HTH.

more ▼

answered May 09 '16 at 08:31 PM

avatar image

VSZ
939 24 28 55

avatar image Zamithal May 10 '16 at 12:49 AM

Thanks for the detailed reply! How would I go about modeling something that would "break" if the modifier is applied? Example, my eyes are spheres with a lattice modifier so that they stay in the sockets when rotating, if this were applied the eyes would clip through the sockets. Additionally, If this is not a great place to ask these questions where would you ask? Thanks for your help!

avatar image VSZ May 10 '16 at 09:37 AM

AFAIK, any modifier that "breaks when applied" can't be brought into the engine because it's behavior won't be included in the FBX unless the modifier is applied. However if you can bake the effect into an animation then the keyframes/bone transforms will be represented in the FBX and so you can bring the animation into the engine.

I haven't used the lattice modifier I'm afraid so I'm not sure what the best workaround in your situation would be, perhaps other Blender users can point out something that I've missed.

PS: I didn't mean to imply this wasn't the place for Blender-UE4 integration issues! I've now modified my previous post for clarity. Just saying that modifiers are a Blender workflow artifact that Unreal's importer code will not even be able to see because everything comes in through FBX right now.

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

I have a character with lattice on her eye's and they seem to work fine. You'll need to experiment with the import/compute normals and tangents setting but I haven't seen any problems, make sure all your transforms are applied. I also have questions about which modifiers I can and can't use and will need to experiment a lot to find out.

more ▼

answered Oct 22 '17 at 09:39 PM

avatar image

Shamanik
15 2 2 4

(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