- new method for move ball in multiOnlineGame
This commit is contained in:
Kum1ta
2024-09-19 16:21:40 +02:00
parent d0b789cdda
commit 34c5857a23
2 changed files with 19 additions and 10 deletions

View File

@ -6,7 +6,7 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/22 17:19:17 by edbernar #+# #+# */
/* Updated: 2024/09/18 23:51:51 by edbernar ### ########.fr */
/* Updated: 2024/09/19 15:53:13 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -266,7 +266,7 @@ function home3D()
gltf.scene.children.forEach(elem => {
elem.traverse((child) => {
if (child.isMesh) {
child.material = material; // Appliquer le matériau aux meshes
child.material = material;
child.receiveShadow = true;
child.castShadow = true;
}