Provides virtual methods that can be overridden to create custom PhysicsDirectBodyState2D implementations.
This class extends PhysicsDirectBodyState2D by providing additional virtual methods that can be overridden. When these methods are overridden, they will be called instead of the internal methods of the physics server.
Intended for use with GDExtension to create custom implementations of PhysicsDirectBodyState2D.
Overridable version of PhysicsDirectBodyState2D.add_constant_central_force().
Overridable version of PhysicsDirectBodyState2D.add_constant_force().
Overridable version of PhysicsDirectBodyState2D.add_constant_torque().
Overridable version of PhysicsDirectBodyState2D.apply_central_force().
Overridable version of PhysicsDirectBodyState2D.apply_central_impulse().
Overridable version of PhysicsDirectBodyState2D.apply_force().
Overridable version of PhysicsDirectBodyState2D.apply_impulse().
Overridable version of PhysicsDirectBodyState2D.apply_torque().
Overridable version of PhysicsDirectBodyState2D.apply_torque_impulse().
Implement to override the behavior of PhysicsDirectBodyState2D.angular_velocity and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.center_of_mass and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.center_of_mass_local and its respective getter.
Overridable version of PhysicsDirectBodyState2D.get_constant_force().
Overridable version of PhysicsDirectBodyState2D.get_constant_torque().
Overridable version of PhysicsDirectBodyState2D.get_contact_collider().
Overridable version of PhysicsDirectBodyState2D.get_contact_collider_id().
Overridable version of PhysicsDirectBodyState2D.get_contact_collider_object().
Overridable version of PhysicsDirectBodyState2D.get_contact_collider_position().
Overridable version of PhysicsDirectBodyState2D.get_contact_collider_shape().
Overridable version of PhysicsDirectBodyState2D.get_contact_collider_velocity_at_position().
Overridable version of PhysicsDirectBodyState2D.get_contact_count().
Overridable version of PhysicsDirectBodyState2D.get_contact_impulse().
Overridable version of PhysicsDirectBodyState2D.get_contact_local_normal().
Overridable version of PhysicsDirectBodyState2D.get_contact_local_position().
Overridable version of PhysicsDirectBodyState2D.get_contact_local_shape().
Overridable version of PhysicsDirectBodyState2D.get_contact_local_velocity_at_position().
Implement to override the behavior of PhysicsDirectBodyState2D.inverse_inertia and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.inverse_mass and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.linear_velocity and its respective getter.
Overridable version of PhysicsDirectBodyState2D.get_space_state().
Implement to override the behavior of PhysicsDirectBodyState2D.step and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.total_angular_damp and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.total_gravity and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.total_linear_damp and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.transform and its respective getter.
Overridable version of PhysicsDirectBodyState2D.get_velocity_at_local_position().
Implement to override the behavior of PhysicsDirectBodyState2D.sleeping and its respective getter.
Implement to override the behavior of PhysicsDirectBodyState2D.angular_velocity and its respective setter.
Overridable version of PhysicsDirectBodyState2D.set_constant_force().
Overridable version of PhysicsDirectBodyState2D.set_constant_torque().
Implement to override the behavior of PhysicsDirectBodyState2D.linear_velocity and its respective setter.
Implement to override the behavior of PhysicsDirectBodyState2D.sleeping and its respective setter.
Implement to override the behavior of PhysicsDirectBodyState2D.transform and its respective setter.