Software Development

melonJS Physics

Use this skill for collision, physics bodies, movement, and spatial queries in melonJS — the built-in SAT world and the planck/matter adapters. Covers bodyDef vs Body, collision types and masks, the collision callback family and their firing rules, raycast/queryAABB/querySphere, the behaviour differences between adapters, and which one to pick for a given game. Triggers on: which physics engine, choosing an adapter, rotation collision, rotating body, torque, joints, stacking, Body, bodyDef, collision, collisionType, collisionMask, onCollision, onCollisionStart, onCollisionActive, raycast, queryAABB, querySphere, PlanckAdapter, MatterAdapter, gravity, velocity, applyForce, isGrounded, SAT.

Publisher / source
melonjs/melonJS (found on GitHub top repositories)
Upstream record
melonjs/melonJS
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-04
Content fingerprint
d36a68d3eff41779eef6736a9f13cae0e135f0c05f82db77a203f69f153a4de0