From 1cea0724400e5120e7ce3bfbfc5f0d4747554d98 Mon Sep 17 00:00:00 2001 From: spatialfree Date: Sat, 21 Dec 2024 14:03:08 -0500 Subject: [PATCH] hand rig debug visuals --- src/Arts.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Arts.cs b/src/Arts.cs index 9cf3115..5ae62d2 100644 --- a/src/Arts.cs +++ b/src/Arts.cs @@ -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 for (int i = 0; i < VFX.ps.count; i++) {