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

Javascript: RigidBody.setNextKinematicPosition() not defined

Open steampixel opened this issue 9 months ago • 2 comments

Hi,

I'am using the compat version 0.11.2 from this source: https://cdn.skypack.dev/@dimforge/[email protected]

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

steampixel avatar Oct 10 '23 19:10 steampixel

I'm using [email protected] and I have the same issue.

pietrovismara avatar Nov 15 '23 18:11 pietrovismara

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.

sebcrozet avatar Jan 24 '24 21:01 sebcrozet