Skip to content

Commit

Permalink
Update godot source file references (#305)
Browse files Browse the repository at this point in the history
# PR Summary
Small PR - adjusts the broken links in the `CONTRIBUTING.md` file.

Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman authored Nov 11, 2024
1 parent 307f275 commit 5cb9173
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ _body_create()
Godot can register multiple `Physics Servers`, and can decide at runtime which one to use.

Godot Rapier Physics implements these under the name like this:
- [RapierPhysicsServer2D](../src/servers/rapier_physics_server_2d.rs) and [RapierPhysicsServer3D](../src/servers/rapier_physics_server_3d.rs)
- [RapierDirectBodyState2D](../src/bodies/rapier_direct_body_state_2d.rs) and [RapierDirectBodyState3D](../src/bodies/rapier_direct_body_state_3d.rs)
- [RapierDirectSpaceState2D](../src/spaces/rapier_direct_space_state_2d.rs) and [RapierDirectSpaceState3D](../src/spaces/rapier_direct_space_state_3d.rs)
- [RapierPhysicsServer2D](src/servers/rapier_physics_server_2d.rs) and [RapierPhysicsServer3D](src/servers/rapier_physics_server_3d.rs)
- [RapierDirectBodyState2D](src/bodies/rapier_direct_body_state_2d.rs) and [RapierDirectBodyState3D](src/bodies/rapier_direct_body_state_3d.rs)
- [RapierDirectSpaceState2D](src/spaces/rapier_direct_space_state_2d.rs) and [RapierDirectSpaceState3D](src/spaces/rapier_direct_space_state_3d.rs)

Code is reused as much as possible, by having each of these classes call into a generic class that does the implementation, and a few configuration flags to select dimensions, precision, etc.

Expand Down Expand Up @@ -79,7 +79,7 @@ As such, when saving and loading, first one must recreate the Godot scene and ma
## Rapier Physics Server Fluids
Godot Rapier Physics also exposes new nodes, [Fluid2D](../src/fluids/fluid_2d.rs) and [Fluid3D](../src/fluids/fluid_3d.rs). These nodes can set and get position, velocity and acceleration of particles used for fluid simulation. Internally it uses [salva](https://github.com/dimforge/salva) to create them.
Godot Rapier Physics also exposes new nodes, [Fluid2D](src/fluids/fluid_2d.rs) and [Fluid3D](src/fluids/fluid_3d.rs). These nodes can set and get position, velocity and acceleration of particles used for fluid simulation. Internally it uses [salva](https://github.com/dimforge/salva) to create them.
## How to build
Expand Down

0 comments on commit 5cb9173

Please sign in to comment.