Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/havok/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,9 @@ Adds a variety of improvements to the WASM. Interface is backwards-compatible.
- Fix crash when using heightfield shapes
- Fix incorrectly-applied constraint limits, when using three limited angular axes
- Fix triggers being incorrectly detected by queries when collision mask had every bit set

## 1.3.11

- Fix shape path iterator returning incorrect values
- Fix bug where constraint motors were not reaching their target
- Add interface to retrieve the impulse applied by a constraint
2 changes: 2 additions & 0 deletions packages/havok/HavokPhysics.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,8 @@ export interface HavokPhysicsWithBindings extends EmscriptenModule {
HP_Constraint_SetAxisMotorDamping(constraint: HP_ConstraintId, axis: ConstraintAxis, damping: number): Result;
/** Get the velocity target damping of a SPRING type motor. */
HP_Constraint_GetAxisMotorDamping(constraint: HP_ConstraintId, axis: ConstraintAxis): [Result, number];
/** Get the linear and angular impulses applied by a constraint, in world space. */
HP_Constraint_GetAppliedImpulses(constraint: HP_ConstraintId): [Result, Vector3, Vector3];

/** Allocate a new handle for a world, which is the basis of a simulation. */
HP_World_Create(): [Result, HP_WorldId];
Expand Down
Binary file modified packages/havok/lib/esm/HavokPhysics.wasm
Binary file not shown.
12 changes: 6 additions & 6 deletions packages/havok/lib/esm/HavokPhysics_es.js

Large diffs are not rendered by default.

Binary file modified packages/havok/lib/umd/HavokPhysics.wasm
Binary file not shown.
14 changes: 6 additions & 8 deletions packages/havok/lib/umd/HavokPhysics_umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/havok/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@babylonjs/havok",
"version": "1.3.10",
"version": "1.3.11",
"description": "The Havok physics engine for the web",
"type": "module",
"main": "lib/umd/HavokPhysics_umd.js",
Expand Down