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"

Creating Swappable Apex Cloth

Hi I wanted to is it possible to create swappable apex cloth that player can change it and choose from his inventory?(Like GTA V or Witcher 3) If so what options do we have?

Product Version: UE 4.9
Tags:
more ▼

asked Oct 01 '15 at 08:25 AM in Everything Else

avatar image

Kayhan Ygh
33 3 9 10

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

3 answers: sort voted first

I would try it like this:

  • Make all clothes as separate meshes, skinned to the same skeleton as your character.

  • Export character and clothes in separate files.

  • Import Character in UE4. Then, import the clothes files using the same Skeleton UE4 created for the character.

  • Make only one AnimationBlueprint. Since it's based on a specific Skeleton, it'll work for the Character and it's Clothes, as they're sharing the same Skeleton.

  • Make your Character Blueprint with *SkeletalMeshComponent*s for the Character and each cloth.

  • Change the SkeletalMesh of the clothes' SkeletalMeshComponents as the player is choosing among them.

  • Keep both Character and Clothes AnimationBlueprints variables synchronized so character and clothes animate the same way. To make things neater, I would create an array containing all their AnimationBlueprints and every time I'd have to change something, I'd use a foreach loop in such array.

Hope it helps. =)

more ▼

answered Oct 21 '15 at 02:28 PM

avatar image

RVillani
1.1k 27 37 89

avatar image Kayhan Ygh Oct 22 '15 at 08:50 AM

Thanks for the detailed answer RVillani

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

Rvilani, why not use setmaster pose to keep all the animations in sync ?

more ▼

answered Apr 08 '16 at 12:01 PM

avatar image

w_jones
136 5 11 17

avatar image Kayhan Ygh Apr 08 '16 at 03:17 PM

Yes , Since I was using Mixamo Fuse for my characters , I exported each parts separately and use the player rig for all of them to attach the clothes to him.

avatar image RVillani Apr 08 '16 at 06:56 PM

Because I didn't know about it! LOL

Of course, now that I read about it, it's WAAAAY better than arrays and variables synchronization!

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

OK so your next challenge is to get Apex cloth colliding with the "body" mesh. I have found this tricky.

I have collision capsules defined in the "body" mesh, but the clothes won't collide with it :(

Happy to share my experiences.

W_Jones

more ▼

answered Apr 09 '16 at 09:53 AM

avatar image

w_jones
136 5 11 17

avatar image RVillani Jul 23 '16 at 04:34 PM

The clothes have to be skinned with the collision meshes. Not the character. Apex will only collide with hulls on it's own skeleton.

To make them with the correct size, I'd skin everything inside the same scene, on a single skeleton, then, as the PhysX plugin exports everything in the scene, I'd save one copy of this scene for each cloth and, on each file, delete the character and the other clothes.

The skeleton with the collision hulls would be correct for exporting the .apb and, inside UE4, the clothes would appear to collide with the character.

(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