medium10 pts · first answer countsgame-enginesgodotphysics
Disabling a collision shape on hit
In Godot 4, inside a body_entered signal handler, you set $CollisionShape2D.disabled = true and get "Can't change this state while flushing queries". What is the fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Where to apply physics forcesGame Developer
- Collecting a coinGame Developer
- Checking if the player is groundedGame Developer
- Bullets hitting their shooterGame Developer
- What a surface normal isGame Developer
- Godot signalsGame Developer
- Kinematic rigidbodyGame Developer
- Private field in the InspectorGame Developer