GameMaker Touhou Engine   Home   Downloads   Documentation


A script that rotates an object around another one by a certain amount.

Returns: Void


_MOVE_ROTATE_AROUND(center, spd, distance, obj)


Name Type Significance
center Reference to Object The object to use as the center point.
spd Integer The angle of the arc the object should move along.
distance Float The distance between the center point and the object to move.
obj* Reference to Object The object to move.

*Must have a local variable named "_ORBIT". This variable signifies the current arc angle between the objects starting position and it's current one in relation to center.