feat: humanoid player model without animations

This commit is contained in:
DottsGit
2026-06-05 13:37:43 -04:00
parent 1e1568f748
commit 72346803a9
4 changed files with 91 additions and 18 deletions
+8
View File
@@ -267,6 +267,14 @@ func _build_player() -> void:
var mover_script = preload("res://movement/player_movement_controller.gd")
if mover_script:
player.set_script(mover_script)
# Humanoid Model for Player (Shadows only so it doesn't clip with camera)
var humanoid = load("res://characters/humanoid_model.gd").new()
humanoid.name = "HumanoidModel"
humanoid.color = Color(0.2, 0.4, 0.8) # Blueish for player
humanoid.shadows_only = true
humanoid.position = Vector3(0, -0.9, 0) # Offset from center to feet
player.add_child(humanoid)
# Movement State Machine
var sm := Node.new()