startDash beta
Function of @v12-engine/engine
ts
export declare function startDash(world: World, entity: Entity, dash: Omit<Dash, 'from'>): void;Sends an entity rushing to a spot (dash.x, dash.z): nothing stops it on the way, its orders wait, and what dash.effects do happens where it ends. A leap (dash.height) takes it off the ground until it comes down