Note: This PRAction documentation is out-dated and is for an older (pre-GMS v2.3) version of PRAction. For the most up-to-date docs on the latest version of PRAction, please refer to this page as well as the documentation included in the PRAction package.

Documentation Topics
Function

PRActionQWobble()

Creates a compound action that, when played by an object, will wobble the object using back and forth rotation.


Declaration

PRActionQWobble(travelDegrees, repeatCount, easeId, durationPerWobbleSecs)

Parameters

travelDegrees

The total number of degrees that the wobble will travel.

repeatCount

The number of wobbles to do. Specify a negative number here for infinite wobbling.

easeId

The ease id indicating which easing function to use for this animation.

durationPerWobbleSecs

The time, in seconds, that it takes for each full wobble to occur.

Return Value

The created action object.