AimToward (Main.sc)¶
-
AimToward
(theObj otherObj [cueObj])¶
-
AimToward
(theObj otherObj faceEachOther [cueObj])
-
AimToward
(theObj x y [cueObj]) Changes the heading of theObj so it faces another object or position. Optionally causes the other object to face the first object.
Parameters: - theObj (heapPtr) – The object that is being aimed.
- otherObj (heapPtr) – The target object.
- faceEachOther (boolean) – If TRUE, the otherObj will also be made to face theObj.
- x (number) – The target x.
- y (number) – The target x.
- cueObj (heapPtr) – Optional object to be cue()’d.