fix: place floor under player and clean debug spam
This commit is contained in:
@@ -71,7 +71,7 @@ func _build_input_map() -> void:
|
||||
|
||||
|
||||
func _build_floor() -> void:
|
||||
_box_static(Vector3(0, -1.1, 0), Vector3(30, 0.4, 30), Color(0.35, 0.25, 0.15))
|
||||
_box_static(Vector3(0, 0.0, 0), Vector3(30, 1.0, 30), Color(0.35, 0.25, 0.15))
|
||||
|
||||
|
||||
func _build_walls() -> void:
|
||||
@@ -142,6 +142,8 @@ func _build_player() -> void:
|
||||
sm._ready()
|
||||
if player.has_method("_ensure_process"):
|
||||
player._ensure_process()
|
||||
if sm.has_method("set_physics_process"):
|
||||
sm.set_physics_process(true)
|
||||
|
||||
|
||||
func _build_ui() -> void:
|
||||
|
||||
Reference in New Issue
Block a user