Categories > Movement > rex_moveto

Introduction

Move object to specific position.

Links


Categories > Movement > rex_movetoIntroductionLinksDependenceUsageMove startReach targetStopPauseResumeStopped by solid objectContinue modeMoving angleWaypoints

Dependence

None

Usage

Reaching targetStop by solid = YesCollide with solidMoving start----Action:Move to XYAction:Move to objectAction:Move to distance-angle...+Every tick-Set positionCondition:On hit target positionCondition:On stop by solid

Move start

Sample capx

Target position is (Expression:TargetX , Expression:TargetY).

Reach target

Stop

Pause

Resume

Stopped by solid object

Sample capx

Stop moving  when colliding any solid object

Continue mode

Moving angle


Waypoints

Add command queue behavior to pend target positions to make a series of waypoints.