mettli / dynamica

Automatically exported from code.google.com/p/dynamica
0 stars 0 forks source link

Once Set Initial State, all constraints disable collsion between constrainted bodies flag reset to 1 #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Turn off Disable Collisions Between Constrainted Bodies
2. Create two rigid bodies
3. Create any constraints between these two rigid bodies
4. start sim, there is collision between two bodies
5. Set one of rigid body initial states, click Set Initial State or even just 
back to frame 1
6. start sim, collision is off between two bodies

My Maya version is 2012 with service pack 2

Cheers
Frank

Original issue reported on code.google.com by frank.mi...@gmail.com on 4 Apr 2012 at 9:48

GoogleCodeExporter commented 9 years ago

It is likely because of wrong reset of date in the Maya Nodes at reset.

Other attributes, such as breakable, also don't get set properly after reset.
Someone needs to look into it, thanks for the report!

Original comment by erwin.coumans on 5 Apr 2012 at 6:19

GoogleCodeExporter commented 9 years ago
I am trying to fix this by my self. However, after I sync the codes, I could 
not find Visual Studio Solution. I am not familar with gcc compiler. If there 
isn't VS solution file, I will try my best on gcc compiler.

Frank

Original comment by frank.mi...@gmail.com on 12 Apr 2012 at 7:57

GoogleCodeExporter commented 9 years ago
It is very simple to generate a visual studio project:

Download and install cmake, and run cmake-gui, point to the MAYA directory and 
hit the 'generate' button a few times. Voila.

gcc is only supported under linux and mac osx.

Original comment by erwin.coumans on 13 Apr 2012 at 1:16