NVIDIAGameWorks / FleX

Other
646 stars 99 forks source link

rotation of eNvFlexShapeSphere #123

Open What-a-stupid-username opened 2 years ago

What-a-stupid-username commented 2 years ago

why do I need to set the rotation of eNvFlexShapeSphere to (1,1,1,0) to let it work correctly?

This is the simu of (1,1,1,0): image

And, here is (0,0,0,1): V6JUV~BZ7}_J4SPYX%1`F$A

The result seems that the top of the cloth can no longer get closer to the sphere and remain vertical as supported by some ghost thing. Why? The identity rotation should be (0,0,0,1), and for the sphere, the rotation should not change the simulation result.

Also, when I change to use sphere triangle mesh, the rotation parameters act correctly.