PhysicsDirectBodyState2D¶
Inherits: Object
Inherited By: PhysicsDirectBodyState2DExtension
Provides direct access to a physics body in the PhysicsServer2D.
Description¶
Provides direct access to a physics body in the PhysicsServer2D, allowing safe changes to physics properties. This object is passed via the direct state callback of RigidBody2D, and is intended for changing the direct state of that body. See RigidBody2D._integrate_forces.