Physx cloth problem

Blitz3D Forums/Blitz3D Userlibs/Physx cloth problem

Naughty Alien(Posted 2008) [#1]
..well..cloth working fine, its attached to main character and following character properly..but I noticed that if I move camera around character, from some angles, i cant see cloth on character and if I move camera on to different position cloth appear to be visible again...im wondering whats wrong here?


Dreamora(Posted 2008) [#2]
sounds like the cloth is too "near" to the actor mesh or even within it ... unless the clothing mesh normal is just wrong.


JA2(Posted 2008) [#3]
It's one of these two commands that fixes the problem. You'll need to get the surface of the cloth mesh. There are some cloth examples in the download...

Anyway, this is what I use:

Function UpdateCloth()

Local CH.Cloth

For CH.Cloth = Each Cloth
	MeshHeight CH\Mesh
	VertexCoords CH\Surface,0,0,0,0
Next

End Function


There was some talk about this issue on the other forum before. I think the problem is with Blitz :s


Naughty Alien(Posted 2008) [#4]
..nope..cloth is not too near..its on reasonable distance and while rotating camera around character, cloth appear, then after next 45 degrees roughly again disappear and so on..thanks JA2..I'll give it a try...


Azaratur(Posted 2008) [#5]
Sorry i don't think to be able to help you but..
Are you ignoring the backface cull of the cloth?
Aza


Naughty Alien(Posted 2008) [#6]
EntityFX 16 enabled all time...JA2 explained it well..