Skip to content

Commit

Permalink
feat: expose force and torque to api (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 authored Jul 15, 2024
1 parent 13984f3 commit 68c5a34
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 124 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

- Update from rapier 0.19 to 0.21 ([#281](https://github.com/dimforge/rapier.js/pull/281)), see [rapier's changelog](https://github.com/dimforge/rapier/blob/master/CHANGELOG.md#v0210-23-june-2024) for more context.

#### Added

- Added `userForce` function to retrieve the constant force(s) the user added to a rigid-body
- Added `userTorque` function to retrieve the constant torque(s) the user added to a rigid-body

### 0.13.1 (2024-05-08)

#### Fixed
Expand Down
Loading

0 comments on commit 68c5a34

Please sign in to comment.