Skip to content

Commit

Permalink
chore(physics): update rapier
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaisthorpe committed Jun 20, 2024
1 parent aac7538 commit 0b5713a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/orange-owls-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tedengine/ted': patch
---

Update dependencies
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"private": true,
"dependencies": {
"@changesets/cli": "^2.27.5",
"@dimforge/rapier3d-compat": "^0.12.0",
"@dimforge/rapier3d-compat": "^0.13.1",
"gl-matrix": "^3.4.3",
"next": "14.2.4",
"nextra": "^2.13.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/ted/src/physics/rapier3d-world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ export default class TRapier3DWorld implements TPhysicsWorld {
return true;
}

result.push({ uuid, distance: intersection.toi });
result.push({ uuid, distance: intersection.timeOfImpact });

return true;
},
Expand Down

0 comments on commit 0b5713a

Please sign in to comment.