Add corps
This commit is contained in:
parent
28bf66496b
commit
8f6db1b395
2 changed files with 73400 additions and 2 deletions
73398
assets/FinalBaseMesh.obj
Normal file
73398
assets/FinalBaseMesh.obj
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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);
|
||||
|
|
Reference in a new issue