@wonderlandengine/interaction

Wonderland Engine Logo

Wonderland Engine Interaction Library

🚧 This library is currently published as a release candidate. It's a work-in-progress and the API might change slightly before reaching the first version. 🚧

Features

  • Single-hand grabbing
  • Double-hand grabbing
  • Door and lever-like behavior
  • Event system
  • Throwing
  • Non-physx constraints

For more information, have a look at the documentation.

Install

In your project root, run:

npm i @wonderlandengine/interaction

Examples

  1. Clone the repository
  2. Open examples under examples/*

Wonderland Engine interaction example

Usage

Refer to the documentation for a deep dive.

Gallery

https://github.com/user-attachments/assets/3867e909-9bfe-4b7c-9bea-c44b3e7bb1d5

https://github.com/user-attachments/assets/ea50025c-96c6-4846-9695-38327a218bd2