Defined in Components/Movement.ts:477 Constructors constructor new Manual Movement ( cfg ? ) : ManualMovement Parameters cfg : { gravityAffectsIt ?: boolean ; rotateByDirection ?: boolean ; } = {} Optional
gravity Affects It ?: boolean Optional
rotate By Direction ?: boolean Defined in Components/Movement.ts:501 Accessors rigid Body get rigidBody( ) : undefined | RigidBodyComponent Defined in Components/Movement.ts:485 set rigidBody( body ) : void Returns void Defined in Components/Movement.ts:479 Methods add Velocity add Velocity ( x , y ) : void Returns void Defined in Components/Movement.ts:630 getXVelocity getXVelocity ( ) : undefined | number Returns undefined | number Defined in Components/Movement.ts:544 getYVelocity getYVelocity ( ) : undefined | number Returns undefined | number Defined in Components/Movement.ts:549 increase Rotation increase Rotation ( delta ) : void Returns void Defined in Components/Movement.ts:589 prerender prerender ( _elapsedMs , _camera ) : void Returns void Defined in Components/Movement.ts:507 set Absolute Velocity set Absolute Velocity ( x , y ) : void Returns void Defined in Components/Movement.ts:568 set Angular Damping set Angular Damping ( amount ) : void Returns void Defined in Components/Movement.ts:615 set Damping set Damping ( amount ) : void Returns void Defined in Components/Movement.ts:605 set Gravity Defy set Gravity Defy ( ) : void Returns void Defined in Components/Movement.ts:620 update Angular Velocity update Angular Velocity ( rps ) : void Returns void Defined in Components/Movement.ts:558 update Velocity update Velocity ( x , y ) : void Returns void Defined in Components/Movement.ts:518 updateXVelocity updateXVelocity ( x ) : void Returns void Defined in Components/Movement.ts:528 updateYVelocity updateYVelocity ( y ) : void Returns void Defined in Components/Movement.ts:538
The manual movement component doesn't do anything by default, but provides ways of moving the actor, so that code attached to input events (keyboard, mouse, gesture) can make the actor move in appropriate ways.