hand rig debug visuals
This commit is contained in:
parent
35425b7a16
commit
1cea072440
1 changed files with 12 additions and 0 deletions
12
src/Arts.cs
12
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
|
// particles
|
||||||
for (int i = 0; i < VFX.ps.count; i++)
|
for (int i = 0; i < VFX.ps.count; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue