Optional
raw: RawImpulseJointSetPrivate
mapCreates a new joint and return its integer handle.
The set of rigid-bodies containing the bodies the joint is attached to.
The joint's parameters.
The handle of the first rigid-body this joint is attached to.
The handle of the second rigid-body this joint is attached to.
Should the attached rigid-bodies be awakened?
Internal
Applies the given closure to each joint contained by this set.
The closure to apply.
Calls the given closure with the integer handle of each impulse joint attached to this rigid-body.
The closure called with the integer handle of each impulse joint attached to the rigid-body.
Gets the joint with the given handle.
Returns null
if no joint with the specified handle exists.
The integer handle of the joint to retrieve.
Gets all joints in the list.
joint list.
A set of joints.
To avoid leaking WASM resources, this MUST be freed manually with
jointSet.free()
once you are done using it (and all the joints it created).