1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Add a method to set the number of physics solver iterations in 3D

This is only for GodotPhysics, and adds a 3D counterpart to the 2D
method that was recently added.
This commit is contained in:
Hugo Locurcio
2021-07-07 19:09:15 +02:00
parent 56d7126864
commit f0a145bbf5
8 changed files with 23 additions and 2 deletions

View File

@@ -740,6 +740,8 @@ void PhysicsServer3D::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_active", "active"), &PhysicsServer3D::set_active);
ClassDB::bind_method(D_METHOD("set_collision_iterations", "iterations"), &PhysicsServer3D::set_collision_iterations);
ClassDB::bind_method(D_METHOD("get_process_info", "process_info"), &PhysicsServer3D::get_process_info);
BIND_ENUM_CONSTANT(SHAPE_PLANE);