godot/scene/2d/physics/rigid_body_2d.cpp

/**************************************************************************/
/*  rigid_body_2d.cpp                                                     */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "rigid_body_2d.h"

void RigidBody2D::_body_enter_tree(ObjectID p_id) {}

void RigidBody2D::_body_exit_tree(ObjectID p_id) {}

void RigidBody2D::_body_inout(int p_status, const RID &p_body, ObjectID p_instance, int p_body_shape, int p_local_shape) {}

struct _RigidBody2DInOut {};

void RigidBody2D::_sync_body_state(PhysicsDirectBodyState2D *p_state) {}

void RigidBody2D::_body_state_changed(PhysicsDirectBodyState2D *p_state) {}

void RigidBody2D::_apply_body_mode() {}

void RigidBody2D::set_lock_rotation_enabled(bool p_lock_rotation) {}

bool RigidBody2D::is_lock_rotation_enabled() const {}

void RigidBody2D::set_freeze_enabled(bool p_freeze) {}

bool RigidBody2D::is_freeze_enabled() const {}

void RigidBody2D::set_freeze_mode(FreezeMode p_freeze_mode) {}

RigidBody2D::FreezeMode RigidBody2D::get_freeze_mode() const {}

void RigidBody2D::set_mass(real_t p_mass) {}

real_t RigidBody2D::get_mass() const {}

void RigidBody2D::set_inertia(real_t p_inertia) {}

real_t RigidBody2D::get_inertia() const {}

void RigidBody2D::set_center_of_mass_mode(CenterOfMassMode p_mode) {}

RigidBody2D::CenterOfMassMode RigidBody2D::get_center_of_mass_mode() const {}

void RigidBody2D::set_center_of_mass(const Vector2 &p_center_of_mass) {}

const Vector2 &RigidBody2D::get_center_of_mass() const {}

void RigidBody2D::set_physics_material_override(const Ref<PhysicsMaterial> &p_physics_material_override) {}

Ref<PhysicsMaterial> RigidBody2D::get_physics_material_override() const {}

void RigidBody2D::set_gravity_scale(real_t p_gravity_scale) {}

real_t RigidBody2D::get_gravity_scale() const {}

void RigidBody2D::set_linear_damp_mode(DampMode p_mode) {}

RigidBody2D::DampMode RigidBody2D::get_linear_damp_mode() const {}

void RigidBody2D::set_angular_damp_mode(DampMode p_mode) {}

RigidBody2D::DampMode RigidBody2D::get_angular_damp_mode() const {}

void RigidBody2D::set_linear_damp(real_t p_linear_damp) {}

real_t RigidBody2D::get_linear_damp() const {}

void RigidBody2D::set_angular_damp(real_t p_angular_damp) {}

real_t RigidBody2D::get_angular_damp() const {}

void RigidBody2D::set_axis_velocity(const Vector2 &p_axis) {}

void RigidBody2D::set_linear_velocity(const Vector2 &p_velocity) {}

Vector2 RigidBody2D::get_linear_velocity() const {}

void RigidBody2D::set_angular_velocity(real_t p_velocity) {}

real_t RigidBody2D::get_angular_velocity() const {}

void RigidBody2D::set_use_custom_integrator(bool p_enable) {}

bool RigidBody2D::is_using_custom_integrator() {}

void RigidBody2D::set_sleeping(bool p_sleeping) {}

void RigidBody2D::set_can_sleep(bool p_active) {}

bool RigidBody2D::is_able_to_sleep() const {}

bool RigidBody2D::is_sleeping() const {}

void RigidBody2D::set_max_contacts_reported(int p_amount) {}

int RigidBody2D::get_max_contacts_reported() const {}

int RigidBody2D::get_contact_count() const {}

void RigidBody2D::apply_central_impulse(const Vector2 &p_impulse) {}

void RigidBody2D::apply_impulse(const Vector2 &p_impulse, const Vector2 &p_position) {}

void RigidBody2D::apply_torque_impulse(real_t p_torque) {}

void RigidBody2D::apply_central_force(const Vector2 &p_force) {}

void RigidBody2D::apply_force(const Vector2 &p_force, const Vector2 &p_position) {}

void RigidBody2D::apply_torque(real_t p_torque) {}

void RigidBody2D::add_constant_central_force(const Vector2 &p_force) {}

void RigidBody2D::add_constant_force(const Vector2 &p_force, const Vector2 &p_position) {}

void RigidBody2D::add_constant_torque(const real_t p_torque) {}

void RigidBody2D::set_constant_force(const Vector2 &p_force) {}

Vector2 RigidBody2D::get_constant_force() const {}

void RigidBody2D::set_constant_torque(real_t p_torque) {}

real_t RigidBody2D::get_constant_torque() const {}

void RigidBody2D::set_continuous_collision_detection_mode(CCDMode p_mode) {}

RigidBody2D::CCDMode RigidBody2D::get_continuous_collision_detection_mode() const {}

TypedArray<Node2D> RigidBody2D::get_colliding_bodies() const {}

void RigidBody2D::set_contact_monitor(bool p_enabled) {}

bool RigidBody2D::is_contact_monitor_enabled() const {}

void RigidBody2D::_notification(int p_what) {}

PackedStringArray RigidBody2D::get_configuration_warnings() const {}

void RigidBody2D::_bind_methods() {}

void RigidBody2D::_validate_property(PropertyInfo &p_property) const {}

RigidBody2D::RigidBody2D() :{}

RigidBody2D::~RigidBody2D() {}

void RigidBody2D::_reload_physics_characteristics() {}