Enum CollisionObject2D.DisableModeEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum CollisionObject2D.DisableModeEnum : long
Fields
KeepActive = 2When ProcessMode is set to Disabled, do not affect the physics simulation.
MakeStatic = 1When ProcessMode is set to Disabled, make the body static. Doesn't affect Area2D. PhysicsBody2D can't be affected by forces or other bodies while static.
Automatically set PhysicsBody2D back to its original mode when the Node is processed again.
Remove = 0When ProcessMode is set to Disabled, remove from the physics simulation to stop all physics interactions with this CollisionObject2D.
Automatically re-added to the physics simulation when the Node is processed again.