--thumb extension
This commit is contained in:
parent
600e882647
commit
e9a5e88a67
1 changed files with 8 additions and 0 deletions
|
@ -228,6 +228,14 @@ public class Mono {
|
|||
|
||||
mat.Run(); // run here or at the end?... or maybe both?
|
||||
|
||||
// thumb extension
|
||||
// Matrix palm_ori = rig.hand_1.palm.ToMatrix();
|
||||
// Vec3 thumb_tip = palm_ori.Inverse * rig.hand_1.Get(FingerId.Thumb, JointId.Tip).position;
|
||||
// Vec3 thumb_minor = palm_ori.Inverse * rig.hand_1.Get(FingerId.Thumb, JointId.KnuckleMinor).position;
|
||||
// if (thumb_tip.x < thumb_minor.x - 0f * U.cm) {
|
||||
// // Log.Info("thumb is out");
|
||||
// xi = 0;
|
||||
// }
|
||||
if (Input.Key(Key.Down).IsJustActive()) {
|
||||
monoNet.value = 0;
|
||||
monoNet.send = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue