Change the Centre Target for Orbital Motion: By Name


ASTER::ACTION::MotionControl::Change the Centre Target 4 Orbital; ByName

Change the orbital target of the motion group registered to the controller.

ASTER’s Orbital Motion has two motion types: TgtXy, which relies on the coordinates of another object as the center of the orbital motion, and OwnXy, which starts the orbital motion centered on the initial position of the instance itself.

Type Centre position If Lost the Target
OwnXy Self-coordinate as center Fixed coordinate without a target
TgtXy Target as center Switch center to OwnXy

If TgtXy loses the coordinate reference to the target instance, it switches to OwnXy motion, using the last accessible coordinates as the center of the orbital motion.


Parameter.1

Select the object instance as the center coordinate of the orbital motion.

Select the object instance. Only the "Active (sprite) Object" Type can select.

Description of the image

If "The Active Object" is not specified, an error will be displayed when executing the action from the event, and the process will be aborted.


Parameter.2

Specification of the motion group name.

If there are two or more registered motion groups, you can set the parameter for the corresponding group by specifying the group name.

Parameter Example Description
"ExMotion1" Setting the parameter for a specified group name.
"" Send an empty string, targeting all registered motion groups.

If you send an empty string without specifying the group name, all currently registered motion groups will be targeted.