MoveHandler
Defined in: packages/threeplay/src/plugins/transform/types.ts:34
Contract for movement-controlling components (character, body): a
component that defines applyMove receives every move() call instead
of pos changing directly.
Extended by
Section titled “Extended by”Methods
Section titled “Methods”applyMove()
Section titled “applyMove()”applyMove(
delta,velocity):void
Defined in: packages/threeplay/src/plugins/transform/types.ts:36
delta is the displacement for this frame, velocity the requested units/s.
Parameters
Section titled “Parameters”Vector3
velocity
Section titled “velocity”Vector3
Returns
Section titled “Returns”void