MCPcopy Create free account
hub / github.com/esengine/esengine / remove

Method remove

packages/rapier2d/pkg/rapier_wasm2d.js:752–756  ·  view source on GitHub ↗

* Removes a collider from this set and wake-up the rigid-body it is attached to. * @param {number} handle * @param {RawIslandManager} islands * @param {RawRigidBodySet} bodies * @param {boolean} wakeUp

(handle, islands, bodies, wakeUp)

Source from the content-addressed store, hash-verified

750 * @param {boolean} wakeUp
751 */
752 remove(handle, islands, bodies, wakeUp) {
753 _assertClass(islands, RawIslandManager);
754 _assertClass(bodies, RawRigidBodySet);
755 wasm.rawcolliderset_remove(this.__wbg_ptr, handle, islands.__wbg_ptr, bodies.__wbg_ptr, wakeUp);
756 }
757 /**
758 * @param {number} handle
759 * @returns {boolean}

Callers

nothing calls this directly

Calls 1

_assertClassFunction · 0.85

Tested by

no test coverage detected