Simpler anim logic for off-screen characters (all limbs except refLimb are hidden)
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Subsurface
|
||||
{
|
||||
Character.UpdateAnimAll((float)Physics.step * 1000.0f);
|
||||
|
||||
Ragdoll.UpdateAll((float)Physics.step);
|
||||
Ragdoll.UpdateAll(cam, (float)Physics.step);
|
||||
|
||||
GameMain.World.Step((float)Physics.step);
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace Subsurface
|
||||
Debug.WriteLine(" char: " + sw.ElapsedTicks);
|
||||
sw.Restart();
|
||||
|
||||
Ragdoll.UpdateAll((float)Physics.step);
|
||||
Ragdoll.UpdateAll(cam, (float)Physics.step);
|
||||
|
||||
if (GameMain.GameSession != null && GameMain.GameSession.Level != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user