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"

Apex cloth does not collide with objects in the world

Cloth only seems to collide with physics shapes that belong to the same skeleton as the cloth itself. I can't tell if this is a bug, or a feature that is not yet supported in UE4.

Would love to get some clarification from Epic if this is expected, or if cloth/world collisions are currently not supported.

Thanks

Product Version: Not Selected
Tags:
more ▼

asked Jun 17 '14 at 09:54 AM in Using UE4

avatar image

sandmeister
101 10 14 31

avatar image RVillani Mar 18 '15 at 10:15 PM

@sandmeister Are you still able to get collisions between cloth and other actors? Things that move etc.. I did get collision with a box by adding a capsule (the flag pole), but after changing it's collision/physics settings, nothing happens. It just collides with it's pole, going through the ground and any static actors in the scene.

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

4 answers: sort voted first

Just wanted to follow this up by saying I finally got it working. It seems that you need at least one physics capsule on your skeleton in order for collisions to take affect..at leas that is what I am putting it down to for now. Without having the capsule there, physics collisions don't seem to be processed on the cloth.

I guess it makes sense to have a capsule, it just wasn't super obvious when I was trying to create a piece of cloth that was completely free to float around with a very high max distance value.

more ▼

answered Jun 19 '14 at 09:23 PM

avatar image

sandmeister
101 10 14 31

avatar image Tim Hobson ♦♦ STAFF Jun 20 '14 at 05:26 PM

Glad you got it working and thank you for posting your resolution here for others to use that information as well!

Tim

avatar image des24man Dec 01 '14 at 02:55 AM

I am trying to understand this but i dont get it. my question is very simlar to this one.
I cant get the cloth to stop going through the ground. here is what i posted. https://answers.unrealengine.com/questions/140253/apex-cloth-not-collide-with-floorground-it-goes-ri.html

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

For people who didn't get it working even after @sandmeister 's solution (like me): Besides a capsule, it's required that all your mesh bones (even static ones, like a flag pole) are set to be simulated on the Physics Asset, not kinematic, and for Simulate Physics to be turned on in the level. The collision will only happen against simple collision shapes. Also, it seems to only work against static meshes. For my flag pole I've added a box collider so it stands still in the ground. Hope someone has better solutions.

@Spaehling Great solution for curtains! I've used it and works pretty well. Even better if we set some level of clothing in the mesh.

more ▼

answered Mar 24 '15 at 01:02 PM

avatar image

RVillani
1.1k 28 41 90

avatar image StMalk May 07 '16 at 08:08 PM

Hi. I'm sorry, can you specify it a bit? What does it mean to add a capsule? When I import my skeletal mesh, UE4 already generated a separate physical asset for it with lots of capsules for each bone. Is it something different? If yes, how and what capsule should be added? If you could help..

avatar image RVillani May 07 '16 at 08:29 PM

A capsule for the cloth to collide with, inside the apex asset, when you're authoring the cloth inside Maya or Max.

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

Hey Guys,

i knwo this theme is a bit old, but i feel force to answer here. Yesterday is stand infront of a problem, what is near to yours. I had a Net and i want the Net move, when the Player runs through. Like a Curtain.

And i thought yeah cloth could be there right thing for that. But i had the same Problem. Cloth looked nice, but nothing happend with any Collision. I watched the Content Examples, and figured out that the Collision is only on Meshes self, with the Joints. But what i want to do, is that the cloth reacts on a different actor.

the result in the end was, that i dont used cloth, i used a lots of joints and compared with the Skin-Weights i got nice Results. The first Sphyl i made Kinematic, that it is fixed and the rest is Simulation.

Iam not sure, if this helps anyone. And then you also can add Cloth, for the Mesh moves with the wind + reacts on the player. i think you can do it the other way around, to get the result like in the video.

. alt text

greetz Spähling

edit: of course your mesh need enough edgeloops and vertices. i made 1 edge row, for each joint.

curtain.jpg (80.4 kB)
more ▼

answered Dec 05 '14 at 04:43 PM

avatar image

Spaehling
171 7 15 24

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

Hi Sandmeister,

This isn't a bug as you can set this up with your Apex Cloth.

This video here is from an old MMO from 2009 that shows clothing reacting to objects in the environment.

You would need to set this up before being imported into UE4. This would a property of your Apex Cloth. I do not know offhand what you would need to do to set this up but you can find the documentation from Nvidia's site here.

Thank you!

Tim

more ▼

answered Jun 17 '14 at 10:19 PM

avatar image

Tim Hobson ♦♦ STAFF
48.7k 888 103 880

avatar image sandmeister Jun 17 '14 at 10:37 PM

Thank you for the reply Tim, I saw that video a while ago which was what made me think it should be possible, even though I could never get it to work. I will keep playing with settings, but are you saying for sure that apex cloth should be able to collide with other objects in the scene that are outside of the skeleton asset the cloth itself belongs to?

avatar image Tim Hobson ♦♦ STAFF Jun 18 '14 at 08:00 PM

Honestly, I'm not sure 100% as anything I've particularly done with Apex has been with destructible objects. The Apex documentation above would be a good start to looking into the getting the object to collide with other objects. Also try asking on the Forums in Content Creation as the community may have some tips on how to achieve this as well. I'm sure others have been curious about this as well!

Tim

(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