diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-17 18:09:40 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-30 09:20:44 -0700 |
commit | 5cbdc7a0acbefcc3aa3cb0eb0fe05b5b10fe7370 (patch) | |
tree | ed92cd22587c8e8bf235e5b08b6017b5a5e8ca70 /scene/2d/touch_screen_button.cpp | |
parent | 92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (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/touch_screen_button.cpp')
0 files changed, 0 insertions, 0 deletions