Skip to content

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

Open
@t-gebauer

Description

@t-gebauer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions