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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to Setup "Master Pose Component" ?

Hey there everyone,

I am trying to have a customizable character in my multiplayer game. I set up an inventory system so I can pickup new gear, like armor, clothing, different accessories and so on.

Now the one thing I can not figure out is how to setup the modular pawn. I dont have to much coding experience so I want to do this with blueprints only.

I tried using the "set master pose component" node, without any success. How do I setup my character? Do I have to skin the full character to a complete bone hirarchy or do I need to skin every clothing item to its corresponding bones only ? Where do I implement the master pose component node structure? and how do i set it up? I have more questions than answers but I couldn`t find any helping documentation on this.

Is there anyone who might have done this and is kind enough to provide some info?

Best Regards

DAkAR

Product Version: UE 4.7
Tags:
more ▼

asked May 15 '15 at 07:49 PM in Using UE4

avatar image

DAkAR
108 12 16 131

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

2 answers: sort voted first

Hi MaxSMoke

I did this in 4.7 and for testing purposes only. I didnt implement this in a game yet so you will need further testing as for how it works with a loot and inventory system. There might also be a better way to do this.

First you will need a character mesh made of seperate pieces. I seperated the head, left arm, right arm, torso, hip+legs, left foot and right foot. Each mesh was skinned to its corresponding joints only. if you have multiple meshes per joint chain, skin them aswell.

So for example: You want to swap arms in UE4, you`ll need at least 2 set of arms, but they need to be skinned to the same skeleton. To export, select the mesh and all its corresponding joints as well as all joints in the chain including the root joint. For an arm it would be the arm joints, shoulder, spine and pelvis (pelvis is the root). This is important because you can only have 1 root joint, so all pieces need to have the same root !

Export piece by piece except the head, which will be the "master bone component" in this case. I exported the head mesh along with the whole rig (!) If you want exchangeable head, this might become an issue.

Import all pieces into unreal, starting with the head. For all the pieces in the import window select the head skeleton. Setup your character blueprint. The head will be the inherited skeletal mesh component. Setup additional "skeletal mesh components", one for each piece or character slot and assign the appropriate skeletal mesh.

Now you just need to setup you construction script like this:

alt text

You can now assign any other skeletal mesh (as long as skinned to the same rig) to your skeletal mesh components in the components tab. You might need to adjust translation in the blueprints viewport. If you have animations for this skeleton, all pieces should follow just fine.

I hope i recalled all correctly, its quite a while ago now and i havent touched it since.

Best regards DAkAR

unbenannt.jpg (150.0 kB)
more ▼

answered Jun 23 '15 at 12:46 PM

avatar image

DAkAR
108 12 16 131

avatar image Tom H Sep 08 '15 at 07:16 AM

To add to the above - if you have a component directly under the Master component in the component tree, it will not accept the morph, though it will accept the pose/animation. To accept the morph it must either be at the same level or a couple of levels below, for example you could add a Scene component under the body and add the clothes under that.

lith

avatar image lorgycorgi Jun 14 '18 at 02:34 AM

Thank you for your responce! I have tried to do these with your way and it seems that I have some problem with importing these parts of the mesh into the UE4. I am using Mixamo rigging and animations, after i downloaded Mixamo's rigged mesh i tried to import it to unreal engine by parts and it seems like UE4 thinks its an animations! Why would it be? I have searched some places and spmebody said it might the issue of unskinned mesh, like the there is only rig inside it. I thought it might be it, because Maya dont think Mixamo really skin something ro its rig, so i tried to skin it aaaaand it didn't work out.

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

never mind, I figured it out.

more ▼

answered May 18 '15 at 01:27 PM

avatar image

DAkAR
108 12 16 131

avatar image MaxSMoke777 Jun 21 '15 at 03:48 AM

Could you elaborate?

avatar image GranvilleSoy Sep 06 '17 at 01:19 PM

Could you please show us your way? Thanks

(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