SmoothLooper (of Code
)¶
-
class
SmoothLooper
¶ Defined in SmoothLooper.sc.
SmoothLooper is a looper (a class that determines the view loop based on Actor direction) that lets you specify a different view that is used when changing directions. This allows for smooth turns when an
Actor
heads in a new direction.Example usage:
(instance mySmooper of SmoothLooper (properties cycleSpeed 6 vChangeDir 3931 ) ) // Then in code: (theGuy looper: mySmooper)