You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename WorldMarginShape to WorldBoundaryShape
This commit is contained in:
@@ -454,8 +454,8 @@ bool PhysicsServer3D::_body_test_motion(RID p_body, const Transform3D &p_from, c
|
||||
|
||||
RID PhysicsServer3D::shape_create(ShapeType p_shape) {
|
||||
switch (p_shape) {
|
||||
case SHAPE_PLANE:
|
||||
return plane_shape_create();
|
||||
case SHAPE_WORLD_BOUNDARY:
|
||||
return world_boundary_shape_create();
|
||||
case SHAPE_SEPARATION_RAY:
|
||||
return separation_ray_shape_create();
|
||||
case SHAPE_SPHERE:
|
||||
@@ -482,7 +482,7 @@ RID PhysicsServer3D::shape_create(ShapeType p_shape) {
|
||||
void PhysicsServer3D::_bind_methods() {
|
||||
#ifndef _3D_DISABLED
|
||||
|
||||
ClassDB::bind_method(D_METHOD("plane_shape_create"), &PhysicsServer3D::plane_shape_create);
|
||||
ClassDB::bind_method(D_METHOD("world_boundary_shape_create"), &PhysicsServer3D::world_boundary_shape_create);
|
||||
ClassDB::bind_method(D_METHOD("separation_ray_shape_create"), &PhysicsServer3D::separation_ray_shape_create);
|
||||
ClassDB::bind_method(D_METHOD("sphere_shape_create"), &PhysicsServer3D::sphere_shape_create);
|
||||
ClassDB::bind_method(D_METHOD("box_shape_create"), &PhysicsServer3D::box_shape_create);
|
||||
@@ -745,7 +745,7 @@ void PhysicsServer3D::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_process_info", "process_info"), &PhysicsServer3D::get_process_info);
|
||||
|
||||
BIND_ENUM_CONSTANT(SHAPE_PLANE);
|
||||
BIND_ENUM_CONSTANT(SHAPE_WORLD_BOUNDARY);
|
||||
BIND_ENUM_CONSTANT(SHAPE_SEPARATION_RAY);
|
||||
BIND_ENUM_CONSTANT(SHAPE_SPHERE);
|
||||
BIND_ENUM_CONSTANT(SHAPE_BOX);
|
||||
|
||||
Reference in New Issue
Block a user