Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-12 12:06:48 +00:00
parent cf5eefc19b
commit 30f1116c09
+6
View File
@@ -72,6 +72,12 @@ export function FakeControllers() {
fakeInput.right.gripWorld.makeTranslation(0.25, 1.2, -0.5);
force((n) => n + 1);
return;
} else if (k === 'l' || k === 'L') {
const s = useModelStore.getState();
const next = !s.isLocked;
s.setLocked(next);
console.log(`[lock] ${next ? 'ON' : 'OFF'} (keyboard)`);
return;
}
apply();
};