godot/servers/physics_server_2d.cpp

/**************************************************************************/
/*  physics_server_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 "physics_server_2d.h"

#include "core/config/project_settings.h"
#include "core/string/print_string.h"
#include "core/variant/typed_array.h"

PhysicsServer2D *PhysicsServer2D::singleton =;

void PhysicsDirectBodyState2D::integrate_forces() {}

Object *PhysicsDirectBodyState2D::get_contact_collider_object(int p_contact_idx) const {}

PhysicsServer2D *PhysicsServer2D::get_singleton() {}

void PhysicsDirectBodyState2D::_bind_methods() {}

PhysicsDirectBodyState2D::PhysicsDirectBodyState2D() {}

///////////////////////////////////////////////////////

Ref<PhysicsRayQueryParameters2D> PhysicsRayQueryParameters2D::create(Vector2 p_from, Vector2 p_to, uint32_t p_mask, const TypedArray<RID> &p_exclude) {}

void PhysicsRayQueryParameters2D::set_exclude(const TypedArray<RID> &p_exclude) {}

TypedArray<RID> PhysicsRayQueryParameters2D::get_exclude() const {}

void PhysicsRayQueryParameters2D::_bind_methods() {}

///////////////////////////////////////////////////////

void PhysicsPointQueryParameters2D::set_exclude(const TypedArray<RID> &p_exclude) {}

TypedArray<RID> PhysicsPointQueryParameters2D::get_exclude() const {}

void PhysicsPointQueryParameters2D::_bind_methods() {}

///////////////////////////////////////////////////////

void PhysicsShapeQueryParameters2D::set_shape(const Ref<Resource> &p_shape_ref) {}

void PhysicsShapeQueryParameters2D::set_shape_rid(const RID &p_shape) {}

void PhysicsShapeQueryParameters2D::set_exclude(const TypedArray<RID> &p_exclude) {}

TypedArray<RID> PhysicsShapeQueryParameters2D::get_exclude() const {}

void PhysicsShapeQueryParameters2D::_bind_methods() {}

///////////////////////////////////////////////////////

Dictionary PhysicsDirectSpaceState2D::_intersect_ray(const Ref<PhysicsRayQueryParameters2D> &p_ray_query) {}

TypedArray<Dictionary> PhysicsDirectSpaceState2D::_intersect_point(const Ref<PhysicsPointQueryParameters2D> &p_point_query, int p_max_results) {}

TypedArray<Dictionary> PhysicsDirectSpaceState2D::_intersect_shape(const Ref<PhysicsShapeQueryParameters2D> &p_shape_query, int p_max_results) {}

Vector<real_t> PhysicsDirectSpaceState2D::_cast_motion(const Ref<PhysicsShapeQueryParameters2D> &p_shape_query) {}

TypedArray<Vector2> PhysicsDirectSpaceState2D::_collide_shape(const Ref<PhysicsShapeQueryParameters2D> &p_shape_query, int p_max_results) {}

Dictionary PhysicsDirectSpaceState2D::_get_rest_info(const Ref<PhysicsShapeQueryParameters2D> &p_shape_query) {}

PhysicsDirectSpaceState2D::PhysicsDirectSpaceState2D() {}

void PhysicsDirectSpaceState2D::_bind_methods() {}

///////////////////////////////

TypedArray<RID> PhysicsTestMotionParameters2D::get_exclude_bodies() const {}

void PhysicsTestMotionParameters2D::set_exclude_bodies(const TypedArray<RID> &p_exclude) {}

TypedArray<uint64_t> PhysicsTestMotionParameters2D::get_exclude_objects() const {}

void PhysicsTestMotionParameters2D::set_exclude_objects(const TypedArray<uint64_t> &p_exclude) {}

void PhysicsTestMotionParameters2D::_bind_methods() {}

///////////////////////////////

Vector2 PhysicsTestMotionResult2D::get_travel() const {}

Vector2 PhysicsTestMotionResult2D::get_remainder() const {}

Vector2 PhysicsTestMotionResult2D::get_collision_point() const {}

Vector2 PhysicsTestMotionResult2D::get_collision_normal() const {}

Vector2 PhysicsTestMotionResult2D::get_collider_velocity() const {}

ObjectID PhysicsTestMotionResult2D::get_collider_id() const {}

RID PhysicsTestMotionResult2D::get_collider_rid() const {}

Object *PhysicsTestMotionResult2D::get_collider() const {}

int PhysicsTestMotionResult2D::get_collider_shape() const {}

int PhysicsTestMotionResult2D::get_collision_local_shape() const {}

real_t PhysicsTestMotionResult2D::get_collision_depth() const {}

real_t PhysicsTestMotionResult2D::get_collision_safe_fraction() const {}

real_t PhysicsTestMotionResult2D::get_collision_unsafe_fraction() const {}

void PhysicsTestMotionResult2D::_bind_methods() {}

///////////////////////////////////////

bool PhysicsServer2D::_body_test_motion(RID p_body, const Ref<PhysicsTestMotionParameters2D> &p_parameters, const Ref<PhysicsTestMotionResult2D> &p_result) {}

void PhysicsServer2D::_bind_methods() {}

PhysicsServer2D::PhysicsServer2D() {}

PhysicsServer2D::~PhysicsServer2D() {}

PhysicsServer2DManager *PhysicsServer2DManager::singleton =;
const String PhysicsServer2DManager::setting_property_name(PNAME("physics/2d/physics_engine"));

void PhysicsServer2DManager::on_servers_changed() {}

void PhysicsServer2DManager::_bind_methods() {}

PhysicsServer2DManager *PhysicsServer2DManager::get_singleton() {}

void PhysicsServer2DManager::register_server(const String &p_name, const Callable &p_create_callback) {}

void PhysicsServer2DManager::set_default_server(const String &p_name, int p_priority) {}

int PhysicsServer2DManager::find_server_id(const String &p_name) {}

int PhysicsServer2DManager::get_servers_count() {}

String PhysicsServer2DManager::get_server_name(int p_id) {}

PhysicsServer2D *PhysicsServer2DManager::new_default_server() {}

PhysicsServer2D *PhysicsServer2DManager::new_server(const String &p_name) {}

PhysicsServer2DManager::PhysicsServer2DManager() {}

PhysicsServer2DManager::~PhysicsServer2DManager() {}