- Godot 4.x
In order to run the tests, simply go to the scene of the test you want to run, run it and it will generate the data needed to create the graphs.
If you want to change the physics engine, first you need to install a different one (addons can also be installed directly from Godot):
After installing, go to Advanced Settings
-> Physics
-> 2D
. Change Physics Engine to the one you want to test, eg.(Rapier2D or Box2D)
- tests/nodes/RigidBody/tests/2d/falling_circles.tscn
- tests/nodes/RigidBody/tests/2d/falling_rectangles.tscn
- tests/nodes/RigidBody/tests/2d/pyramid_pin_joint.tscn
- tests/nodes/RigidBody/tests/2d/rectangle_pyramid.tscn
- tests/nodes/RigidBody/tests/2d/rectangle_stack.tscn
After you have the csv files in results folder.