English
Appearance
@modoki/engine / index / setLinvel2D
setLinvel2D(world, entity, x, y, wakeUp?): boolean
world
entity
x
y
wakeUp?
boolean
Set linear velocity directly (world units/s) — the intuitive "move at this speed" control.
World
Entity
number
boolean = true
true