From 4506397e735d49dd5adfbd5636fc1bfd9586775c Mon Sep 17 00:00:00 2001 From: Jiaqi Liu Date: Sat, 19 Aug 2023 02:46:14 -0700 Subject: [PATCH] Fix build issue --- Assets/Scripts/Pal3/Scene/SceneObjects/RotatingWallObject.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/Pal3/Scene/SceneObjects/RotatingWallObject.cs b/Assets/Scripts/Pal3/Scene/SceneObjects/RotatingWallObject.cs index bb9e0d72f..8ed09eae1 100644 --- a/Assets/Scripts/Pal3/Scene/SceneObjects/RotatingWallObject.cs +++ b/Assets/Scripts/Pal3/Scene/SceneObjects/RotatingWallObject.cs @@ -54,6 +54,7 @@ public override GameObject Activate(GameResourceProvider resourceProvider, Color subObjectModelRenderer.Render(polFile, textureProvider, resourceProvider.GetMaterialFactory(), + isStaticObject: false, tintColor); // Sub-object should block player as well, so let's add mesh collider to it