The concrete body handle attached to renderable.body under
MatterAdapter. Combines the raw Matter.Body (with all
native fields — frictionAir, restitution, friction, angle,
angularVelocity, …) with the portable melonJS helper methods
(setVelocity, applyImpulse, setStatic, etc.) spliced on at
addBody time.
Type it explicitly when reaching for matter-native fields:
The concrete body handle attached to
renderable.bodyunder MatterAdapter. Combines the rawMatter.Body(with all native fields —frictionAir,restitution,friction,angle,angularVelocity, …) with the portable melonJS helper methods (setVelocity,applyImpulse,setStatic, etc.) spliced on ataddBodytime.Type it explicitly when reaching for matter-native fields:
Keeps user code free of a direct
matter-jsimport — the matter dependency stays behind the adapter boundary.