fix: adjust arena shift offset to -0.22 based on visual check for freemode and stopngo
This commit is contained in:
+3
-3
@@ -167,9 +167,9 @@ func _instantiate_3d_arena(scene_path: String):
|
||||
arena_instance.name = "ArenaEnvironment3D"
|
||||
|
||||
if "freemode" in scene_path or "stop_n_go" in scene_path:
|
||||
# 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.
|
||||
arena_instance.position.y = -0.28
|
||||
# The Terrainv2.gltf (and related arenas) have their floor physically modeled around Y=0.22.
|
||||
# Shift it down so the visual floor aligns properly with gridmap items.
|
||||
arena_instance.position.y = -0.22
|
||||
|
||||
add_child(arena_instance)
|
||||
move_child(arena_instance, 0)
|
||||
|
||||
Reference in New Issue
Block a user