From 1d7eb5f8d82373d438d6637b1b0ea52fdd5ce0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9lemy?= <31370477+BarthPaleologue@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:28:43 +0100 Subject: [PATCH] push it to the limit --- src/ts/character.ts | 2 +- src/ts/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ts/character.ts b/src/ts/character.ts index 9492c3d..2e70ce8 100644 --- a/src/ts/character.ts +++ b/src/ts/character.ts @@ -20,7 +20,7 @@ export async function createCharacterController(scene: Scene, camera: ArcRotateC camera.lockedTarget = cameraAttachPoint; camera.wheelPrecision = 30; camera.lowerRadiusLimit = 3; - camera.upperBetaLimit = 3.14 / 2 - 0.1; + camera.upperBetaLimit = 3.14 / 2; //Scale the model down //Hero character variables diff --git a/src/ts/index.ts b/src/ts/index.ts index fe2e960..98fe915 100644 --- a/src/ts/index.ts +++ b/src/ts/index.ts @@ -64,7 +64,7 @@ lowQualityGrassBlade.material = material; const patchSize = 10; const patchResolution = patchSize * 5; -const fieldRadius = 12; +const fieldRadius = 18; const bladeMeshFromLod = new Array(2); bladeMeshFromLod[0] = lowQualityGrassBlade;