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. 

Modular characters - changing parts in game play

Hi there.

Im trying to set up a modular character using the seperate objects skinned to the same skeleton technique and I was able to set the parts up and have them animate together. However is there a way I can change one body part for another during game play? For example when a player runs over a body part in the world, its automatically equiped and replaces the previous one? I imagine I'll have to use some variables and set them accordingly when I want to change the peieces?

Any ideas?

Product Version: UE 4.8
Tags:
more ▼

asked Apr 14 '16 at 07:19 PM in Blueprint Scripting

avatar image

Emerald-shine
21 1 2 7

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

2 answers: sort voted first

What type are the body parts? Static Mesh? Skeletal Mesh? I'm visualizing this as a vehicle or something? If the components of the 'body' are in fact a form of Mesh then simply replace that components mesh on the character to the new mesh.

more ▼

answered Apr 15 '16 at 02:19 AM

avatar image

jtsmith
1.4k 70 29 92

avatar image Emerald-shine Apr 16 '16 at 11:53 AM

Hi thanks for the reply, i didn't think of replacing the componets like that. The body parts are all skeletal meshes skined to the same skeleton. I need to ask though how exactly do I go about replacing the skeletal mesh components. I assumed it would be th same as setting a new material. I found what I believe is the corrrect node(s), "set skeletal mesh". I cast to the character in the level bluerprint but nothing is happening and i cant see why. alt text alt text alt text Im trying to replace the boxy torso with the bulkier one.

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

Figured it out. I read there was a but in 4.8 where the set skeletal mesh node doesnt work. I loaded up 4.10 and everything worked as intended. Thanks Jtsmith.

more ▼

answered Apr 17 '16 at 05:13 PM

avatar image

Emerald-shine
21 1 2 7

avatar image jtsmith Apr 19 '16 at 04:14 AM

Awesome, glad you got it figured out!

avatar image UpRoar Studios Sep 13 '17 at 02:34 PM

So what exactly is the work around to this problem? I am trying to do something similar, so is the above method the working method?

(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