new Motion()
This component works in tandem with the Mover component by adding a vector of motion to the entity. This component is typically created by Mover
and doesn't need to be added separately.
- Source:
Fires:
Listens to Events:
- platypus.Entity#event:control-velocity
- platypus.Entity#event:stop-velocity
- platypus.Entity#event:start-velocity
- platypus.Entity#event:control-acceleration
- platypus.Entity#event:stop-acceleration
- platypus.Entity#event:start-acceleration
- platypus.Entity#event:instant-motion
- platypus.Entity#event:instant-begin
- platypus.Entity#event:instant-end
- platypus.Entity#event:set-motion