feat: implement procedural humanoid animations, modular weapon system, and dummy entity base classes

This commit is contained in:
DottsGit
2026-06-06 19:10:29 -04:00
parent fcdd75afc0
commit ff3e01a9e5
12 changed files with 400 additions and 52 deletions
+2 -1
View File
@@ -36,6 +36,8 @@ var movement_speed: float = 0.0
var _anim_time: float = 0.0
func _ready() -> void:
rotation_degrees.y = 180
var mat := StandardMaterial3D.new()
mat.albedo_color = color
mat.roughness = 0.8
@@ -197,7 +199,6 @@ func set_weapon(script_path: String) -> void:
_set_shadows_recursive(w)
# Force position after the weapon's _build_model() sets it for 1st person
# root_pivot is rotated 180 deg around Y, so local +Z is FORWARD and local -X is RIGHT
w.position = Vector3(-0.15, 1.0, 0.4)
w.rotation_degrees = Vector3(0, 180, 0)
)