From 8ecb6f064f0708ed010f1239a7bddc283411b6e7 Mon Sep 17 00:00:00 2001 From: Patrick Schönberger Date: Mon, 1 Feb 2021 14:08:56 +0100 Subject: cloth-cloth collision --- Scripts/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Scripts/main.js') diff --git a/Scripts/main.js b/Scripts/main.js index 01e3283..588e8f1 100644 --- a/Scripts/main.js +++ b/Scripts/main.js @@ -35,7 +35,7 @@ function setup_scene(canvasSpace) { scene.add(directionalLight); /** position camera */ - camera.position.y = 5; + camera.position.y = 3; camera.position.z = 10; addLights(scene); return [scene, camera, renderer]; @@ -62,7 +62,7 @@ function init() { /** setup cloth and generate debug mesh */ let cloth = new Cloth(); - cloth.createBasic(10, 10, 10, 10); + cloth.createBasic(10, 10, 20, 20); //cloth.createDebugMesh(scene); -- cgit v1.2.3