Esenthel
Administrator
|
RE: Attaching Cloth
so you can know to which skeleton bone attach the cape vertex, (its taken from skinning)
|
|
02-15-2010 08:25 PM |
|
b1s
Member
|
RE: Attaching Cloth
So i should add My characters skeleton to the file and skin the skirt for it?
|
|
02-15-2010 08:40 PM |
|
Esenthel
Administrator
|
|
02-15-2010 08:59 PM |
|
Dampire
Member
|
RE: Attaching Cloth
I made class Flag based on Static. For optimisation i disable a wind, if flag is too far. But after that, even if wind enabled for it, the flag does not react to the wind. Sleep? But how "wake up" him?
(This post was last modified: 06-20-2011 03:18 PM by Dampire.)
|
|
06-20-2011 01:09 PM |
|
Dampire
Member
|
RE: Attaching Cloth
Is there no solution? I looked all documentation, but the solution is not found.
|
|
06-20-2011 04:02 PM |
|
Esenthel
Administrator
|
RE: Attaching Cloth
how are you disabling/enabling the wind?
do you make any other changes?
perhaps it's physx issue
|
|
06-21-2011 12:31 PM |
|
Dampire
Member
|
RE: Attaching Cloth
I just call function wind with parameter Vec(0,0,0).
in update function
Code:
if(dist<100)
cloth.wind(Random.dir(dir, 5, -5));
else
cloth.wind(Vec(0,0,0));
(06-21-2011 12:31 PM)Esenthel Wrote: perhaps it's physx issue
Maybe...
(This post was last modified: 06-21-2011 01:44 PM by Dampire.)
|
|
06-21-2011 01:40 PM |
|
Esenthel
Administrator
|
RE: Attaching Cloth
thanks, I've looked into physx headers and it has sleep functions for cloth too, so I'll add them, you'll need to manually wakeup the cloth
|
|
06-21-2011 02:46 PM |
|
Dampire
Member
|
RE: Attaching Cloth
NP. Thank you for response)
|
|
06-21-2011 04:28 PM |
|