- getting started
- broadphase https://github.com/dimforge/rapier.rs/issues/102
- nalgebra
- [1.0, 2.0].into() -> set its type explicitly to avoid inferring, as it could easily lead to multiple impls (with Into if rapier is in dependency tree)
- "but with a semantic than vectors" -> different
- simulation structures
- ignoring code snippet from https://rapier.rs/docs/user_guides/rust/simulation_structures#query-pipeline
- "any feature useful" -> "any useful feature"
- rigid-bodies
- rigid_body.set_rotation(0.2, true); -> rigid_body.set_rotation(UnitComplex::new(0.2), true);
- additional_principal_angular_inertia -> additional_mass_properties
- incorrect rapier tag for RapierContext, changed to
- collider
- Compound not so easy to use, adapted code (isometry (using glam), shape)
- Joints
- *JointSet do not take rigidbodyset as parameter anymore.
- character controller
- bellow -> below
- 45.0.to_radians() ambiguous -> 45_f32.to_radians()
- (Collisions) -> take `bodies`, `colliders`, `query_set` as ref, not mandatory depending on code setup but I think that's more consistent.
- :warning: solve_character_collision_impulses takes only 1 collision as parameter
- query_pipeline.update doesn't take islandManager anymore
- Scene queries
- removed note on update() -> I'll make a PR for `query_set.update_colliders`
- :warning: added a section on `update_incremental`
- `cast_*` take a `rigidBodySet` as first parameter
- `intersection.toi` -> `intersection.time_of_impact`
- toi -> ShapecastOptions
- `AABB` -> `Aabb`
- InteractionGroups parameters missing `.into()`
- Advanced collision-detection
- `contacts_with` -> `contact_pairs_with`
- `PhysicsHooks` and `PairFilterContext` no longer take generic arguments
- Determinism
- translation takes only 1 parameter (vector![])
other:
- wrong rust tag in a js section.
- an unused markdown file ( :warning: ) : joint_constraints, containing multibodies :o
- ignoring for now.
- simulation structures
- incorrect game loop information -> :warning: updated it a bit
This PR builds on #99 to bring CI code checking to
Rust
code snippets.Notable changes
./diff_with_branch.sh
)Foreign impacts
A few crates modifications have been prompted by this work:
Modification details
- getting started - broadphase https://github.com/dimforge/rapier.rs/issues/102 - nalgebra - [1.0, 2.0].into() -> set its type explicitly to avoid inferring, as it could easily lead to multiple impls (with Into if rapier is in dependency tree)
- "but with a semantic than vectors" -> different
- simulation structures
- ignoring code snippet from https://rapier.rs/docs/user_guides/rust/simulation_structures#query-pipeline
- "any feature useful" -> "any useful feature"
- rigid-bodies
- rigid_body.set_rotation(0.2, true); -> rigid_body.set_rotation(UnitComplex::new(0.2), true);
- additional_principal_angular_inertia -> additional_mass_properties
- incorrect rapier tag for RapierContext, changed to
- collider
- Compound not so easy to use, adapted code (isometry (using glam), shape)
- Joints
- *JointSet do not take rigidbodyset as parameter anymore.
- character controller
- bellow -> below
- 45.0.to_radians() ambiguous -> 45_f32.to_radians()
- (Collisions) -> take `bodies`, `colliders`, `query_set` as ref, not mandatory depending on code setup but I think that's more consistent.
- :warning: solve_character_collision_impulses takes only 1 collision as parameter
- query_pipeline.update doesn't take islandManager anymore
- Scene queries
- removed note on update() -> I'll make a PR for `query_set.update_colliders`
- :warning: added a section on `update_incremental`
- `cast_*` take a `rigidBodySet` as first parameter
- `intersection.toi` -> `intersection.time_of_impact`
- toi -> ShapecastOptions
- `AABB` -> `Aabb`
- InteractionGroups parameters missing `.into()`
- Advanced collision-detection
- `contacts_with` -> `contact_pairs_with`
- `PhysicsHooks` and `PairFilterContext` no longer take generic arguments
- Determinism
- translation takes only 1 parameter (vector![])
other:
- wrong rust tag in a js section.
- an unused markdown file ( :warning: ) : joint_constraints, containing multibodies :o
- ignoring for now.
- simulation structures
- incorrect game loop information -> :warning: updated it a bit