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:39:26 +02:00
parent 31143baa57
commit 9259b4adc4
9 changed files with 28 additions and 2 deletions

View File

@@ -1546,6 +1546,10 @@ void BulletPhysicsServer::finish() {
BulletPhysicsDirectBodyState::destroySingleton();
}
void BulletPhysicsServer::set_collision_iterations(int p_iterations) {
WARN_PRINT("Changing the number of 3D physics collision iterations is only supported when using GodotPhysics, not Bullet.");
}
int BulletPhysicsServer::get_process_info(ProcessInfo p_info) {
return 0;
}