Files
millimeters-of-aluminum/scenes/ship/builder/pieces/piece_mount.gd
2025-12-05 15:50:48 +01:00

12 lines
407 B
GDScript

class_name PieceMount extends Area3D
# Define compatibility types (0=Universal, 1=Strut, 2=Plate, etc.)
@export var mount_type: int = 0
# You could add other metadata here (e.g., is_occupied)
var is_occupied: bool = false
func _ready():
# Ensure this is on the correct layer for snapping queries
collision_layer = 1 << 14
collision_mask = 0 # Mounts don't need to scan for things, things scan for them