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: RigidBody.setNextKinematicPosition() not defined #250

Open
steampixel opened this issue Oct 10, 2023 · 2 comments
Open

Javascript: RigidBody.setNextKinematicPosition() not defined #250

steampixel opened this issue Oct 10, 2023 · 2 comments
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@steampixel
Copy link

Hi,

I'am using the compat version 0.11.2 from this source: https://cdn.skypack.dev/@dimforge/rapier3d-compat@0.11.2

The current documentation describes the method RigidBody.setNextKinematicPosition() here: https://rapier.rs/docs/user_guides/javascript/rigid_bodies#position

But this method is not defined inside the RidgitBody Class. Also its not defined in the current API documentation: https://rapier.rs/javascript3d/classes/RigidBody.html

@pietrovismara
Copy link

pietrovismara commented Nov 15, 2023

I'm using rapier2d-compat@0.11.2 and I have the same issue.

@sebcrozet sebcrozet added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers and removed documentation Improvements or additions to documentation labels Jan 24, 2024
@sebcrozet sebcrozet transferred this issue from dimforge/rapier Jan 24, 2024
@sebcrozet
Copy link
Member

sebcrozet commented Jan 24, 2024

That looks like an omission. In the mean time setNextKinematicTranslation and setNextKinematicRotation can be used instead.
I moved this issue to the rapier.js repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants