1 (edited by Grim 2017-12-19 16:06:30)

Topic: Textures Turn Black With Cloth Physics

There is a character in my game who I'd like to have cloth physics on. With them off this is how he looks on P1 and P2 side:

https://s10.postimg.org/djs1xgutl/Untitled.png

However, if I add cloth physics to the coat, P2 side's material for the physics object turns black like this:

https://s10.postimg.org/xr5hpqxft/Untitled.png

Anyone know what this is and how to fix it? The issue occurs whether I have the coat as a double-sided or single-sided mesh and recalculating the normals in blender doesn't help. I have the source version.

Share

Thumbs up Thumbs down

Re: Textures Turn Black With Cloth Physics

Your character rig is set to Legacy or Humanoid?

i got this same problem once because UFE inverts the scale when using legacy animations, and this causes this strange problem when using cloth simulations. If you use a Humanoid rig, the character isn't scaled, but rotated, and the animations are mirrored, and the cloth isn't affected.

If using legacy animations, you could use something like dynamic bones from the asset store, that's what i use to get rid of the problem.

Me encontraste en un negro camino como un peregrino sin rumbo ni fe, pero la luz de tus ojos divinos cambió mi suerte por dicha y placer.

Re: Textures Turn Black With Cloth Physics

Yeah, I'm using a legacy rig. I tried Dynamic Bone in the past, but it seems to work better for hair, tails, etc. than it does for large cloth objects like a coat. The movement it generates looks less like loose clothing and more like jello. I may have to just end up manually animating the coat in blender. Thanks for the advice though. I didn't realize the issue stemmed from the scale being inverted before now.

Share

Thumbs up Thumbs down