Skip to content

Commit

Permalink
Merge pull request #46 from LeXXik/contact-events
Browse files Browse the repository at this point in the history
Make contactEventsEnabled private
  • Loading branch information
LeXXik authored May 24, 2024
2 parents d3739f8 + 3d42024 commit 77b8f92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/physics/jolt/back/backend.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class JoltBackend {
// contact events
charContactEventsEnabled: true,
vehicleContactEventsEnabled: false,
contactEventsEnabled: true,
contactAddedEventsEnabled: true,
contactPersistedEventsEnabled: false,
contactRemovedEventsEnabled: true,
Expand All @@ -70,6 +69,10 @@ class JoltBackend {
],
...data.config
};

Check failure on line 72 in src/physics/jolt/back/backend.mjs

View workflow job for this annotation

GitHub Actions / Lint

Trailing spaces not allowed
config.contactEventsEnabled = config.contactAddedEventsEnabled ||
config.contactPersistedEventsEnabled || config.contactRemovedEventsEnabled;

this._config = config;
this._dispatcher = messenger;
this._time = 0;
Expand Down

0 comments on commit 77b8f92

Please sign in to comment.