rapier.rs icon indicating copy to clipboard operation
rapier.rs copied to clipboard

JavaScript user guide does not explain where to configure physics hooks

Open t-gebauer opened this issue 1 year ago • 0 comments

The JavaScript user guide mentions the PhysicsHooks interface and functions, and how they work, but it does not seem to mention where to supply the physics hooks (second parameter of World.step()).

https://rapier.rs/docs/user_guides/javascript/advanced_collision_detection_js#physics-hooks

The other user guides mention this in the second paragraph under "Physics hooks":

Physics hooks are given as an argument of the PhysicsPipeline::step and CollisionPipeline::step methods. [...]

https://rapier.rs/docs/user_guides/rust/advanced_collision_detection#physics-hooks

Physics hooks are given as a type argument to RapierPhysicsPlugin. [...]

https://rapier.rs/docs/user_guides/bevy_plugin/advanced_collision_detection#physics-hooks

t-gebauer avatar Sep 13 '24 13:09 t-gebauer