Rotation

 

Rotation

To rotate layer, use rotation field in Layer Inspector. By default, the layer is rotated around its center or with {0.5, 0.5} anchor point. Parent layer rotation will also affect its sublayers.

To change the layer rotation at different points, change anchor point in the Layer Panel. Anchor point can be identified by a blue mark at layer in canvas.

In QuartzCode, all layers support rotation except emitter layer.

 

rotation

Note:

Changing layer anchor point will also affect other transform properties. In Layer Inspector, you can only change rotation (z axis) however, by using transform keypath for animation, you may also change scale, translation, and rotation in Keyframe Inspector.