Skip to content

Commit 8c7915a

Browse files
committed
fix(rapier): do not track entire options object in rigid body colliders options
1 parent 3869b37 commit 8c7915a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libs/rapier/src/lib/rigid-body.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ export class NgtrRigidBody {
479479
// if physics colliders is false explicitly AND colliders is not set, disable auto colliders for this object entirely.
480480
if (physicsColliders === false && colliders === undefined) return [];
481481

482-
const options = this.options();
482+
const options = untracked(this.options);
483483
// if colliders on object is not set, use physics colliders
484484
if (!options.colliders) options.colliders = physicsColliders;
485485

0 commit comments

Comments
 (0)