• R/O
  • SSH
  • HTTPS

mmdx: Commit


Commit MetaInfo

Revision925 (tree)
Time2012-07-29 18:28:27
Authorwilfrem

Log Message

ねんどろ風ルコ.pmdで物理演算指定の一部剛体が、モデルが静止している際にISLAND_SLEEPING状態になる不具合を修正

Change Summary

Incremental Difference

--- trunk/MikuMikuDanceXNA/Misc/PhysicsDebugDraw.cs (revision 924)
+++ trunk/MikuMikuDanceXNA/Misc/PhysicsDebugDraw.cs (revision 925)
@@ -40,7 +40,7 @@
4040 effect.World = Matrix.Identity;
4141 vertexDec = VertexPositionColor.VertexDeclaration;//new VertexDeclaration(device, VertexPositionColor.VertexElements);
4242 vertex = new VertexPositionColor[50];
43- DebugMode=(DebugDrawModes.DBG_DrawWireframe | DebugDrawModes.DBG_DrawConstraints);
43+ DebugMode=(DebugDrawModes.DBG_DrawWireframe | DebugDrawModes.DBG_DrawConstraints | DebugDrawModes.DBG_NoDeactivation);
4444 }
4545 /// <summary>
4646 /// 剛体の描画
--- trunk/MikuMikuDanceCore/MMDCore.cs (revision 924)
+++ trunk/MikuMikuDanceCore/MMDCore.cs (revision 925)
@@ -133,6 +133,7 @@
133133 #endif
134134 //物理作成
135135 //物理エンジンの作成
136+ RigidBody.gDisableDeactivation = true;
136137 config = new DefaultCollisionConfiguration();
137138 dispatcher = new CollisionDispatcher(config);
138139 pairCache = new AxisSweep3(new btVector3(-10000, -10000, -10000), new btVector3(10000, 10000, 10000), 5 * 5 * 5 + 1024, null, false);
Show on old repository browser