fix: armor mesh rotation dysync

This commit is contained in:
TrèsAbhi committed 2024-02-22 18:36:21 -06:00
1 parent e33ae0f81b
commit bc211822aa
7 files changed
+17 -24

No files matched your search

@@ -55,7 +55,7 @@ export function Controls() {
useEffect(() => {
camera.position.set(-4, 4, -16);
orbitControls.current?.target.set(0, antagonistGunHeight / 2, 0);
orbitControls.current?.target.set(0, 1.25, 0);
const unsubscribeTankopedia = useTankopediaPersistent.subscribe(
(state) => state.model.visual.controlsEnabled,
@@ -135,7 +135,7 @@ export function Controls() {
case Pose.Default: {
camera.position.set(-4, 4, -16);
orbitControls.current?.target.set(0, antagonistGunHeight / 2, 0);
orbitControls.current?.target.set(0, 1.25, 0);
break;
}
}