fix: lower Stop N Go arena by 0.28 to fix buried tiles
This commit is contained in:
+2
-2
@@ -166,8 +166,8 @@ func _instantiate_3d_arena(scene_path: String):
|
|||||||
var arena_instance = arena_scene.instantiate()
|
var arena_instance = arena_scene.instantiate()
|
||||||
arena_instance.name = "ArenaEnvironment3D"
|
arena_instance.name = "ArenaEnvironment3D"
|
||||||
|
|
||||||
if "freemode" in scene_path:
|
if "freemode" in scene_path or "stop_n_go" in scene_path:
|
||||||
# The Freemode Terrainv2.gltf has its floor physically modeled at Y=0.28.
|
# The Terrainv2.gltf (and related arenas) have their floor physically modeled at Y=0.28.
|
||||||
# Shift it down so the visual floor aligns with Y=0.0 where players and gridmap items live.
|
# Shift it down so the visual floor aligns with Y=0.0 where players and gridmap items live.
|
||||||
arena_instance.position.y = -0.28
|
arena_instance.position.y = -0.28
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user