Skip to content

Commit

Permalink
make contactEventsEnabled private
Browse files Browse the repository at this point in the history
  • Loading branch information
LeXXik committed May 24, 2024
1 parent f2dfb85 commit 3d42024
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 3d42024

Please sign in to comment.