rotate(a?: number): RotateComp

Rotates a Game Object (in degrees).

parama The angle to rotate by. Defaults to 0.