mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 20:13:43 +00:00
14 lines
539 B
GDScript
14 lines
539 B
GDScript
class_name ArenaBoundary
|
|
extends StaticBody3D
|
|
|
|
# The standard arena play volume (inner faces of the enclosure). Every arena
|
|
# instances objects/arena_boundary.tscn so all arenas share one size; code
|
|
# that needs field dimensions derives them from these constants rather than
|
|
# restating numbers.
|
|
const INNER_HALF_X := 12.0
|
|
const INNER_HALF_Z := 18.0
|
|
const INNER_HEIGHT := 12.0
|
|
# Goal-centre distance from arena centre; the end walls sit 1 m behind, so a
|
|
# ball pinned against them still overlaps the goal sensor.
|
|
const GOAL_LINE_Z := 17.0
|