1
0
Fork 0

Add corps

This commit is contained in:
Florian RICHER 2016-12-02 04:39:57 +01:00
parent 28bf66496b
commit 8f6db1b395
2 changed files with 73400 additions and 2 deletions

73398
assets/FinalBaseMesh.obj Normal file

File diff suppressed because it is too large Load diff

View file

@ -16,7 +16,7 @@ function runDemo(canvasId) {
camera.applyGravity = true;
camera.checkCollisions = true;
camera.speed = 1;
camera.speed = .1;
camera.angularSensibility = 1000;
camera.keysUp = [90]; // Touche Z
@ -509,7 +509,7 @@ function createDemoScene(scene) {
mur4Salle3.material = wall;
mur4Salle3.checkCollisions = true;
var box = new BABYLON.Mesh.CreateBox("crate", 2, scene);
box.material = new BABYLON.StandardMaterial("Mat", scene);
box.material.diffuseTexture = new BABYLON.Texture("images/box.png", scene);