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)

Properties

Inherited from Code:

Property Description
name  

Defined in SmoothLooper:

Property Description
nextLoop  
client  
oldCycler  
oldMover  
newMover  
oldCycleSpeed  
cycleSpeed  
inProgress  
vNormal  
vChangeDir  

Methods

doit(theClient theAngle)
dispose()
cue()