Explorar o código

Revert "Physics Addons: Add errors when trying to use `getShape()` for unsupported geometry types." (#32393)

Michael Herzog hai 4 meses
pai
achega
122c7c84bc

+ 0 - 2
examples/jsm/physics/AmmoPhysics.js

@@ -66,8 +66,6 @@ async function AmmoPhysics() {
 
 		}
 
-		console.error( 'AmmoPhysics: Unsupported geometry type:', geometry.type );
-
 		return null;
 
 	}

+ 0 - 2
examples/jsm/physics/JoltPhysics.js

@@ -28,8 +28,6 @@ function getShape( geometry ) {
 
 	}
 
-	console.error( 'JoltPhysics: Unsupported geometry type:', geometry.type );
-
 	return null;
 
 }

+ 0 - 2
examples/jsm/physics/RapierPhysics.js

@@ -73,8 +73,6 @@ function getShape( geometry ) {
 
 	}
 
-	console.error( 'RapierPhysics: Unsupported geometry type:', geometry.type );
-
 	return null;
 
 }

粤ICP备19079148号