Examples
// The component lifecycle invokes this hook automatically.
const body = world.spawn([
Collider2D.rectangle(1, 1),
new PhysicsProperties()
])
// The component's inverse inertia is derived from its collider and mass.
console.log(world.get(body, PhysicsProperties).invinertia)