Changing RigidBody2D mode
propery doesn't work from inside Area2D body_entered signals
#50876
Labels
mode
propery doesn't work from inside Area2D body_entered signals
#50876
Godot version
3.3.2.stable.arch_linux
System information
arch linux
Issue description
Changing a
RigidBody2D
'smode
property from rigid to static from inside anArea2D
'sbody_entered
signal doesn't appear to work. The property changes but the object keeps moving. Changing mode from a button press signal works fine. Using the CONNECT_DEFERRED flag also works. Perhaps mode shouldn't or can't be set from inside physics in which case this could be a just a documentation change?Steps to reproduce
Run the minimal repro project, watch the logo fall into the area2d, change to static mode but keep on falling
Minimal reproduction project
rigid2dmodetest.zip
The text was updated successfully, but these errors were encountered: