hand rig debug visuals

This commit is contained in:
ethan merchant 2024-12-21 14:03:08 -05:00
parent 35425b7a16
commit 1cea072440

View file

@ -352,6 +352,18 @@ static class Arts
} }
} }
// hand debug
for (int i = 0; i < (int)Handed.Max; i++)
{
Mesh.Sphere.Draw(
mat_unlit,
Rig.pose_hld[i].ToMatrix(
2 * U.cm
),
Color.Hex(Rig.holding[i] ? 0xFF00FFFF : 0x808080FF).ToLinear()
);
}
// particles // particles
for (int i = 0; i < VFX.ps.count; i++) for (int i = 0; i < VFX.ps.count; i++)
{ {