godot/servers/physics_server_3d.cpp

/**************************************************************************/
/*  physics_server_3d.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.                 */
/**************************************************************************/

#ifndef _3D_DISABLED

#include "physics_server_3d.h"

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

void PhysicsServer3DRenderingServerHandler::set_vertex(int p_vertex_id, const Vector3 &p_vertex) {}
void PhysicsServer3DRenderingServerHandler::set_normal(int p_vertex_id, const Vector3 &p_normal) {}
void PhysicsServer3DRenderingServerHandler::set_aabb(const AABB &p_aabb) {}

void PhysicsServer3DRenderingServerHandler::_bind_methods() {}

PhysicsServer3D *PhysicsServer3D::singleton =;

void PhysicsDirectBodyState3D::integrate_forces() {}

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

PhysicsServer3D *PhysicsServer3D::get_singleton() {}

void PhysicsDirectBodyState3D::_bind_methods() {}

PhysicsDirectBodyState3D::PhysicsDirectBodyState3D() {}

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

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

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

void PhysicsRayQueryParameters3D::_bind_methods() {}

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

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

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

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

void PhysicsPointQueryParameters3D::_bind_methods() {}

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

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

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

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

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

void PhysicsShapeQueryParameters3D::_bind_methods() {}

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

Dictionary PhysicsDirectSpaceState3D::_intersect_ray(const Ref<PhysicsRayQueryParameters3D> &p_ray_query) {}

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

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

Vector<real_t> PhysicsDirectSpaceState3D::_cast_motion(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query) {}

TypedArray<Vector3> PhysicsDirectSpaceState3D::_collide_shape(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query, int p_max_results) {}

Dictionary PhysicsDirectSpaceState3D::_get_rest_info(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query) {}

PhysicsDirectSpaceState3D::PhysicsDirectSpaceState3D() {}

void PhysicsDirectSpaceState3D::_bind_methods() {}

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

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

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

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

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

void PhysicsTestMotionParameters3D::_bind_methods() {}

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

Vector3 PhysicsTestMotionResult3D::get_travel() const {}

Vector3 PhysicsTestMotionResult3D::get_remainder() const {}

real_t PhysicsTestMotionResult3D::get_collision_safe_fraction() const {}

real_t PhysicsTestMotionResult3D::get_collision_unsafe_fraction() const {}

int PhysicsTestMotionResult3D::get_collision_count() const {}

Vector3 PhysicsTestMotionResult3D::get_collision_point(int p_collision_index) const {}

Vector3 PhysicsTestMotionResult3D::get_collision_normal(int p_collision_index) const {}

Vector3 PhysicsTestMotionResult3D::get_collider_velocity(int p_collision_index) const {}

ObjectID PhysicsTestMotionResult3D::get_collider_id(int p_collision_index) const {}

RID PhysicsTestMotionResult3D::get_collider_rid(int p_collision_index) const {}

Object *PhysicsTestMotionResult3D::get_collider(int p_collision_index) const {}

int PhysicsTestMotionResult3D::get_collider_shape(int p_collision_index) const {}

int PhysicsTestMotionResult3D::get_collision_local_shape(int p_collision_index) const {}

real_t PhysicsTestMotionResult3D::get_collision_depth(int p_collision_index) const {}

void PhysicsTestMotionResult3D::_bind_methods() {}

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

bool PhysicsServer3D::_body_test_motion(RID p_body, const Ref<PhysicsTestMotionParameters3D> &p_parameters, const Ref<PhysicsTestMotionResult3D> &p_result) {}

RID PhysicsServer3D::shape_create(ShapeType p_shape) {}

void PhysicsServer3D::_bind_methods() {}

PhysicsServer3D::PhysicsServer3D() {}

PhysicsServer3D::~PhysicsServer3D() {}

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

void PhysicsServer3DManager::on_servers_changed() {}

void PhysicsServer3DManager::_bind_methods() {}

PhysicsServer3DManager *PhysicsServer3DManager::get_singleton() {}

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

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

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

int PhysicsServer3DManager::get_servers_count() {}

String PhysicsServer3DManager::get_server_name(int p_id) {}

PhysicsServer3D *PhysicsServer3DManager::new_default_server() {}

PhysicsServer3D *PhysicsServer3DManager::new_server(const String &p_name) {}

PhysicsServer3DManager::PhysicsServer3DManager() {}

PhysicsServer3DManager::~PhysicsServer3DManager() {}

#endif // _3D_DISABLED