Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript user guide does not explain where to configure physics hooks #119

Open
t-gebauer opened this issue Sep 13, 2024 · 0 comments
Open

Comments

@t-gebauer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant