Examples
import { World } from '@wimaengine/ecs'
import { Collider2D } from '@wimaengine/narrowphase'
import { createRigidBody2D } from '@wimaengine/physics'
const world = new World()
const body = world.spawn([
...createRigidBody2D(10, 20, Math.PI / 4, 2),
Collider2D.rectangle(2, 1)
])