We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b1b500 commit 7f5dd7fCopy full SHA for 7f5dd7f
1 file changed
scenes/game_logic/base_character_behavior.gd
@@ -21,9 +21,10 @@ func _enter_tree() -> void:
21
22
23
func _ready() -> void:
24
- if Engine.is_editor_hint():
25
- set_physics_process(false)
26
- elif character.motion_mode != CharacterBody2D.MotionMode.MOTION_MODE_FLOATING:
+ if (
+ not Engine.is_editor_hint()
+ and character.motion_mode != CharacterBody2D.MotionMode.MOTION_MODE_FLOATING
27
+ ):
28
push_warning("Consider setting %s Motion Mode to Floating." % character.name)
29
30
0 commit comments