summaryrefslogtreecommitdiff
path: root/scene/2d/position_2d.cpp
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-17 18:09:40 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-30 09:20:44 -0700
commit5cbdc7a0acbefcc3aa3cb0eb0fe05b5b10fe7370 (patch)
treeed92cd22587c8e8bf235e5b08b6017b5a5e8ca70 /scene/2d/position_2d.cpp
parent92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (diff)
Add support for controlling physics nodes' behavior when disabled
New property disable_mode to set different behaviors: Remove: remove from physics simulation MakeStatic: change body mode to static (doesn't affect area and soft body) KeepActive: do nothing Extra change: Handle disable/enable node state with specific notifications, in order to differentiate global pause from disabled nodes.
Diffstat (limited to 'scene/2d/position_2d.cpp')
0 files changed, 0 insertions, 0 deletions