mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
parent
31143baa57
commit
9259b4adc4
9 changed files with 28 additions and 2 deletions
|
@ -671,6 +671,8 @@ void PhysicsServer::_bind_methods() {
|
|||
|
||||
ClassDB::bind_method(D_METHOD("set_active", "active"), &PhysicsServer::set_active);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_collision_iterations", "iterations"), &PhysicsServer::set_collision_iterations);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_process_info", "process_info"), &PhysicsServer::get_process_info);
|
||||
|
||||
BIND_ENUM_CONSTANT(SHAPE_PLANE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue