Skip to content

Sleep, awake events #1303

@alvarosabu

Description

@alvarosabu

Migrated from Tresjs/rapier#131 - Originally created by @JaimeTorrealba


Description

We need to handle these events or explain in the docs the behavior. Rapier automatically put in sleep object that are slow or stop a short time.

Also, many of the reactive props are setting true (awake) automatically, but that maybe is not for all use cases

Suggested solution

My idea is a new props to handle this, R3F handle this with a function, maybe we need to check that

Alternative

As this is the default behavior for Rapier I wouldn't mess around too much here, but is necessary to explain it, and/or handle it in a better way

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationp2-nice-to-haveNot breaking anything but nice to have (priority)rapier

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions