nMesh Building Leans Over Then Collapses?


#1

I’m trying to simulate the large apartment highrise collapse shown here @1:07:
https://www.youtube.com/watch?v=cd7VOz_Wstg

To test, I have a shattered cube leaning over via rotation keyframed at frame 79. But when I convert the shattered poly cube to ncloth, the animation won’t play correctly. I’m including my file here…what am I doing wrong?

My file: http://1drv.ms/1HIT3sa

Thanks in advance!

P.S. How do I make an Ncloth object be affected by force fields like Volume Axis? I’ve tried lots of settings but the Volume Axis field is ignored by my nCloth object (I’d like to have the first floor explode outward, then the building collapse and sink into the ground).


#2

It should just work(go the the nCloth in the dynamics relationship editor to make sure it is affecting the cloth), although the field strength required might vary based on the mass of the cloth. (for high mass on the cloth you will need a higher field magnitude). The other thing is to make sure you don’t have input attract or constraints holding the cloth in place.


#3

Hi Duncan,

I was able to get an Axis Volume to work by:

  1. Checking ‘Use Polygon Shells’ on in the nCloth node

  2. Selecting both the nCloth object and my Axis Volume and picking Fields> Affect Selected Object(s)

Now the force field is interacting with my nCloth object.

Also, I was able to have my building lean over then disintegrate but it’s not quit right. I told my nucleus solver to being at frame 60 which is when building has completed its keyframed rotation (lean). The pieces then fall straight down to the ground plane. It would be better if the ‘lean’ was factored into the simulation though: the falling pieces should be moving slightly along an axis with a bit of momentum from the buildings rotation, not straight down.

Is there a way to tell the nCloth simulation to factor in the movment of animated nCloth objects?

:cool:
Thanks again!


#4

use Input mesh attract either a map or a direct key framed value to switch your ncloth from being in the hand keyed state (following your established animation) to dynamic, this way it will inherit all the velocity from your keyframeing.