Socket
Socket
Sign inDemoInstall

@dimforge/rapier3d-compat

Package Overview
Dependencies
0
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dimforge/rapier3d-compat

3-dimensional physics engine in Rust - official JS bindings. Compatibility package with inlined webassembly as base64.


Version published
Weekly downloads
69K
increased by4.57%
Maintainers
1
Install size
7.17 MB
Created
Weekly downloads
 

Changelog

Source

0.12.0 (2024-01-28)

The main highlight of this release is the implementation of a new non-linear constraints solver for better stability and increased convergence rates. See #579 for additional information.

In order to adjust the number of iterations of the new solver, simply adjust World.numSolverIterations. If recovering the old solver behavior is useful to you, call World.switchToStandardPgsSolver().

It is now possible to specify some additional solver iteration for specific rigid-bodies (and everything interacting with it directly or indirectly through contacts and joints): RigidBodyDesc.additionalSolverIterations and RigidBody::setAdditionalSolverIterations. This allows for higher-accuracy on subsets of the physics scene without affecting performance of the other parts of the simulation.

Modified
  • Renamed CharacterController.translationApplied, .translationRemaining and the desiredTranslation method argument to CharacterController.translationDeltaApplied, .translationDeltaRemaining and the desiredTranslationDelta to avoid confusion with the usage of the translation world in RigidBody.translation().
Added
  • Added DynamicRayCastVehicleController to simulate vehicles based on ray-casting.
  • Added JointData.generic (3D only) to create a generic 6-dof joint and manually specify the locked axes.

Readme

Source

crates.io

Build status crates.io npm version

Website | Documentation


3D physics engine for the JavaScript programming language (official bindings).


Keywords

FAQs

Last updated on 28 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc