player tank model

This commit is contained in:
Michael Campbell 2026-04-01 13:06:27 -04:00
parent d63b6a5663
commit dc88120ff8
13 changed files with 215 additions and 21 deletions

View file

@ -3,6 +3,7 @@ extends Node3D
var boxes: Array[CSGBox3D]
var points: Array[Vector3]
const MAX_ENEMIES := 30
const MAX_CACHED_POINTS := 100
var doomed_point_idx := 0
@ -11,6 +12,8 @@ var weights: Array[float]
var total_cost := 0.
var money := 5.
var total_enemies := 0
var rng := RandomNumberGenerator.new()
func _get_point() -> Vector3: