Audio bus implemented and test pawn intro sound clips added. PawnBodies hooked up to PawnBaseData but not yet implemented.

This commit is contained in:
2026-03-07 03:33:59 -05:00
parent 52fe2f58d4
commit 984567cf96
28 changed files with 296 additions and 43 deletions

View File

@@ -1,5 +1,22 @@
class_name RangeSphere extends CSGSphere3D
@tool
class_name RangeSphere extends Node3D
var _radius : float = 1
var type : Hack.Type = -1
@onready var rim_sphere : CSGSphere3D = $RimSphere
@onready var intersect_sphere : CSGSphere3D = $IntersectSphere
func set_range(range : int) -> void:
@export_range(0.1, 10.0, 0.1) var radius : float :
get:
return _radius
set(value):
_radius = value
if rim_sphere != null:
rim_sphere.radius = _radius
if intersect_sphere != null:
intersect_sphere.radius = _radius
func set_range(range : float) -> void:
radius = range