フォーラム: ヘルプ (スレッド #32591)

Legs problem wth some motions (2012-08-01 20:02 by urz9999 #64848)

Hi, i've done many progress in my project with your outstanding library. It's working very well, with increased compatibility with many models after adding this portion of code in the update method (hope it could be useful to you too :D):

// =========================================================================
try
{
foreach (RigidBody rigid in Player.model.PhysicsManager.Rigids)
{
rigid.activate(true);
}
}
catch (Exception ex) { ex.ToString(); }
// =========================================================================

This code helps updating correctly the skin for some models.

A problem still remain for me: with some motions sometimes models' legs don't update correctly and instead start going crazy. Till now i'm still searching for solution in the library source code, but with no luck.

Here is a link for an example motion that produce this error:

http://bowlroll.net/up/dl2484

this motion relies heavely on legs movements so it is easy to replicate the problem.

i'm sorry to bother you with this but i think that this library is a wonderful job and deserves to be perfect :D

Thx
Alessandro

RE: Legs problem wth some motions (2012-08-02 01:31 by wilfrem #64852)

RigidBody probrem may fixed just some day ago by rev925 and rev926.
your code seems to be fix same problem by force.

http://sourceforge.jp/projects/mmdx/scm/svn/commits/925
http://sourceforge.jp/projects/mmdx/scm/svn/commits/926

rigid deactivation probrem(rigid going to be ISLAND_SLEEPING mode) fixed by this patch.


Legs problem OK. I try it to fix.

thanks
#64848 への返信

RE: Legs problem wth some motions (2012-08-02 03:06 by urz9999 #64853)

Uao, thx for the really fast reply :D I'll try the revised code. Thx also for trying to solve the legs problem.
Good luck!
Alessandro
#64852 への返信