Controlling humanoid movement with one capsule-shaped physics body that other limbs (attempt to) follow
Broken and WIP
This commit is contained in:
@@ -556,7 +556,6 @@ namespace Barotrauma
|
||||
|
||||
foreach (Limb limb in c.AnimController.Limbs)
|
||||
{
|
||||
if (c.AnimController.LowestLimb == limb) continue;
|
||||
limb.body.ApplyLinearImpulse(limb.Mass * impulse);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user