Announcement

Collapse
No announcement yet.

Is there a documentation/tutorial for the 4.16 Built-in-cloth system?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by Almighty_gir View Post
    1. Create cloth asset (which i can't seem to find anywhere to delete if i want to, which is important because...)
    Click image for larger version  Name:	dlt.png Views:	1 Size:	128.0 KB ID:	1131273
    ^ idk if it is what you are looking for + it could be unavailable before (idk).

    I still fight with collision, anyone found anything about not working collision?
    Last edited by Velu12; 12-27-2018, 03:20 PM.

    Leave a comment:


  • replied
    Question...

    Is there an easier way of doing this than having to:
    1. Set up physics asset.
    2. Create cloth asset (which i can't seem to find anywhere to delete if i want to, which is important because...)
    3. Paint values.
    4. Apply cloth asset to mesh.
    5. Notice that the physics asset needs adjusting.
    6. Adjust physics asset.
    7. Repeat from step 2 onward (with a now ever increasing list of cloth assets).

    Leave a comment:


  • replied
    I have everything set up, and am in section selection, and it wont let me select my mesh in the editor, and it wont allow me to select anything, and right click just controls the camera, paint tools are up, says no asset available... not shure whats up

    Leave a comment:


  • replied
    Originally posted by cyaoeu View Post
    You should submit a bug report on the answerhub.
    I would, but I am not certain that this is a bug. The feature is basically undocumented and I am hoping to find out if I am simply missing something.

    Leave a comment:


  • replied
    Originally posted by Praseodyl View Post
    I tried the cloth feature with the 4.17 preview version. I still have the same issues.
    You should submit a bug report on the answerhub.

    Leave a comment:


  • replied
    I tried the cloth feature with the 4.17 preview version. I still have the same issues.

    Leave a comment:


  • replied
    Chances are i am missing something really obvious, but still. Decided to try clothing system in new 4.17 build. Created base side scroller template. The painting itself worked fine and in editor window the clothing model seems to collide with base physics body. But when in game it gets some propulsion(like when base body walks for e.g.) - it immediately starts to clip. What am i doing wrong?

    Leave a comment:


  • replied
    Originally posted by Exelcior View Post
    There shouldn't be any limits to spheres and capsules, however you will be limited to 5 boxes if you are using them due to a limitation in how the core simulation library handles convex objects. The only thing I can think of that's known in 4.16 is that the physics asset is not updated once the clothing asset has been created. You would need to recreate the clothing asset after every change - this limitation has been removed for 4.17

    This image shows the last capsule (leftmost) isn't considered for the cloth collision, it is the 17th capsule. https://docs.nvidia.com/gameworks/co...ide/Index.html under Collision detection says up to 32 spheres and two spheres can be combined to a capsule, which describes exactly the behaviour in my image.
    Edit: I am using Version 4.16.2
    Last edited by Perjin; 07-12-2017, 09:40 AM.

    Leave a comment:


  • replied
    Originally posted by Exelcior View Post
    There shouldn't be any limits to spheres and capsules, however you will be limited to 5 boxes if you are using them due to a limitation in how the core simulation library handles convex objects. The only thing I can think of that's known in 4.16 is that the physics asset is not updated once the clothing asset has been created. You would need to recreate the clothing asset after every change - this limitation has been removed for 4.17
    Is there a way to update the physics asset manually?

    Originally posted by Exelcior View Post
    That error means that you have a degenerate triangle in the section you are trying to turn into clothing. It will either be very small or very thin - the location of the triangle vertices is printed in the error. The error you've posted shows that your verts are A={0.898, -34.67, 203.248} B={1.18, -34.764, 205.502} C={1.18, -34.764, 205.502} which means two of your verts are in the same location so the triangle has zero area. The reason this fails to create your clothing asset is that the simulation of a zero or near-zero area triangle will intoduce NaNs into the simulation which will break the clothing and often trigger ensures in our renderer as the bounds of your object grows to infinity.
    Is there a reason why this happens only when importing APEX files? Shouldn't this also cause problems if the in-engine tool is used?

    Leave a comment:


  • replied
    Originally posted by DanMaksim View Post
    Loving the new (experimental) NVCloth tools in 4.16!

    I was previously using the "Bind Cloth to Master Pose Component" node to duplicate an apex-simulated cloth mesh onto two identical actors, but in 4.16 this no longer seems to work with NVCloth. Should I expect it to start working again around 4.17 or whenever NVCloth moves out of "experimental" status?
    This should be fixed for 4.17. I was incorrectly building the base transform for the master pose which led to artefacts.

    Originally posted by Perjin View Post
    I was playing around with cloth simulation and had the same problem, I noticed eventually that the last few collision shapes i added to my physics asset didn't work with the cloth, so I copied my physics asset removed all bones that weren't relevant for cloth simulation and used that one to create the cloth (still using the other one for everything else) and now it works.
    I guess there is a limit as to how many collision shapes the system does handle and it doesn't try to find the most relevant ones or warn that you are using too many.
    Originally posted by Breeze78 View Post
    I honestly can't get collisions working at all! I have created a few collision bodies in the physics asset, and selected the physics asset when making the clothing. Even tried deleting and re-making the clothing assets multiple times, but no collision whatsoever. Am I missing a step here?
    There shouldn't be any limits to spheres and capsules, however you will be limited to 5 boxes if you are using them due to a limitation in how the core simulation library handles convex objects. The only thing I can think of that's known in 4.16 is that the physics asset is not updated once the clothing asset has been created. You would need to recreate the clothing asset after every change - this limitation has been removed for 4.17

    Originally posted by Swashbucklingfox View Post
    Has Apex been removed completely? Trying to use the new built in cloth tools...I am not sure what to do, i try setting my characters ponytail (it has no bones) to a clothing asset but i get an error...

    [ATTACH=CONFIG]148063[/ATTACH]
    That error means that you have a degenerate triangle in the section you are trying to turn into clothing. It will either be very small or very thin - the location of the triangle vertices is printed in the error. The error you've posted shows that your verts are A={0.898, -34.67, 203.248} B={1.18, -34.764, 205.502} C={1.18, -34.764, 205.502} which means two of your verts are in the same location so the triangle has zero area. The reason this fails to create your clothing asset is that the simulation of a zero or near-zero area triangle will intoduce NaNs into the simulation which will break the clothing and often trigger ensures in our renderer as the bounds of your object grows to infinity.

    Leave a comment:


  • replied
    Attempting to add joints to the ponytail in maya lt for physics sim

    Leave a comment:


  • replied
    Unfortunately, I don't.
    I had the issue when trying to simulate a cape. Non-simulated parts of the cape intersect with parts of the skeletal mesh but that should not be unusual. The simulated part does not have intersecting planes.

    Leave a comment:


  • replied
    any ideas whats causing it? all i can think is maybe the hair planes are intersecting and that is causing a problem, must have something to do with how the mesh was made. and theres no bones for the ponytail so physics isnt really going to work either.

    Leave a comment:


  • replied
    I had the same issue when trying to import an APEX file .

    Leave a comment:


  • replied
    Has Apex been removed completely? Trying to use the new built in cloth tools...I am not sure what to do, i try setting my characters ponytail (it has no bones) to a clothing asset but i get an error...

    Click image for larger version

Name:	Cn30QtI.jpg
Views:	1
Size:	132.5 KB
ID:	1130923
    Attached Files

    Leave a comment:

Working...
X