About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Attaching Cloth
Author Message
Esenthel Offline
Administrator

Post: #16
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
Find all posts by this user Quote this message in a reply
b1s Offline
Member

Post: #17
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #18
RE: Attaching Cloth
yes
02-15-2010 08:59 PM
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #19
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
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #20
RE: Attaching Cloth
Is there no solution? I looked all documentation, but the solution is not found.
06-20-2011 04:02 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #21
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
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #22
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #23
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
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #24
RE: Attaching Cloth
NP. Thank you for response)
06-21-2011 04:28 PM
Find all posts by this user Quote this message in a reply
Post Reply