Skip to content

Commit

Permalink
push it to the limit
Browse files Browse the repository at this point in the history
  • Loading branch information
BarthPaleologue committed Nov 8, 2023
1 parent 77a541c commit 1d7eb5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ts/character.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lowQualityGrassBlade.material = material;

const patchSize = 10;
const patchResolution = patchSize * 5;
const fieldRadius = 12;
const fieldRadius = 18;

const bladeMeshFromLod = new Array<Mesh>(2);
bladeMeshFromLod[0] = lowQualityGrassBlade;
Expand Down

0 comments on commit 1d7eb5f

Please sign in to comment.