About Store Forum Documentation Contact
Donations:
289$/mo



Post Reply 
Showing a little patriotism!
Author Message
3DRaddict Offline
Member

Post: #1
Showing a little patriotism!
Got my physical cloth working... grin


06-25-2015 07:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #2
RE: Showing a little patriotism!
nice one wink like usual
06-25-2015 09:13 PM
Find all posts by this user Quote this message in a reply
georgatos7 Offline
Member

Post: #3
RE: Showing a little patriotism!
Hey man nice vid smile , also did you find a way to get the anchoring particles to be treated as static in physics calc?
(This post was last modified: 06-26-2015 01:30 AM by georgatos7.)
06-26-2015 01:06 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Silver Supporter

Post: #4
RE: Showing a little patriotism!
South African Mario incoming? hehwink
06-26-2015 01:26 AM
Find all posts by this user Quote this message in a reply
3DRaddict Offline
Member

Post: #5
RE: Showing a little patriotism!
@Georgatos7:
Quote:did you find a way to get the anchoring particles to be treated as static in physics calc?

No, afraid not... I just used your trick of repositioning the anchor points each frame:
PHP Code:
for(int i=0i<flag_cloth.vtxs(); i++)
      {
         
Vec myPos flag_cloth.lockRead()[i].pos;
         
flag_cloth.unlock();
         
         if(
i==407// topleft corner index
         
{
            
clothparticle[i].pos.flagholderheight+0.6// adjust according to current height
         
}
         if(
i==277// bottomleft corner index
         
{
            
clothparticle[i].pos.flagholderheight-0.6// adjust according to current height 
         
}
         if(( 
i!=407) && (i!=277)) // do not use topleft and bottomleft corners
             
clothparticle[i].pos myPos
                  
         
//clothparticle[i].inverse_mass = 0.0f;  // HAS NO EFFECT!!! (can be 0 or 1)
      
}
      
flag_cloth.set(clothparticleflag_cloth.vtxs());
     
      
Game.World.update(Cam.at);      
      
Physics.stopSimulation(); 
(This post was last modified: 06-26-2015 06:09 AM by 3DRaddict.)
06-26-2015 06:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
georgatos7 Offline
Member

Post: #6
RE: Showing a little patriotism!
Ye, ok thanks for the answer 3DRaddict. Hopefully Esenthel will fix the issue at some point.
06-26-2015 10:02 AM
Find all posts by this user Quote this message in a reply
Post Reply