Camera now centers on focusable zone properly
This commit is contained in:
parent
a164cedf3f
commit
c2b2385e96
6 changed files with 97 additions and 42 deletions
|
@ -25,7 +25,6 @@ export class WorkAdventureCameraCommands extends IframeApiContribution<WorkAdven
|
|||
lock: boolean = false,
|
||||
smooth: boolean = false
|
||||
): void {
|
||||
console.log({ x, y, width, height, lock, smooth });
|
||||
sendToWorkadventure({
|
||||
type: "cameraSetViewport",
|
||||
data: { x, y, width, height, lock, smooth },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue