mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 05:06:11 +01:00
fix: armor mesh rotation dysync
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user