Click or drag to resize

RigidBody2DSleeping Property

If true, the body will not move and will not calculate forces until woken up by another body through, for example, a collision, or by using the ApplyImpulse(Vector2, Vector2) or AddForce(Vector2, Vector2) methods.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool Sleeping { get; set; }

Property Value

Type: Boolean
See Also