Examples
import { World } from '@wimaengine/ecs'
import { createRawMovable3D } from '@wimaengine/movable'
const world = new World()
world.spawn(createRawMovable3D())Function
createRawMovable3D(): [Velocity3D, Rotation3D, Acceleration3D, Torque3D]Creates an ordered 3D motion-only component bundle.
The returned tuple contains Velocity3D, Rotation3D,
Acceleration3D, and Torque3D in insertion order. Every
component starts at zero. Use createMovable3D when the entity also
needs the standard 3D transform components.
import { World } from '@wimaengine/ecs'
import { createRawMovable3D } from '@wimaengine/movable'
const world = new World()
world.spawn(createRawMovable3D())