3D rotation sample.
RotationX, rotationY 및 rotationZ를 이용하여 무비클립을 3차원으로 회전시키는 샘플 파일을 만들어 봤습니다. Use rotationZ rather than rotation on TextField 포스트에도 언급했듯이, 텍스트필드도 정상적으로 화면에 표시가 됩니다.
선을 드래그하면 X, Y 및 Z 축 한 가지만 회전되고, 면을 드래그하면 X축과 Y축을 동시에 제어할 수 있습니다. 마찬가지로 더블클릭하면 해당하는 속성만 0으로 초기화됩니다.
나중에 이미지 편집기 기능 개선할 때 적용시켜야겠네요.
I made a sample movie rotating a movieclip in 3D space with rotationX, rotationY and rotationZ. Like I said on Use rotationZ rather than rotation on TextField, the textfield is displayed properly.
Drag on the blue lines or the gray circle to rotate the movieclip.
Drag on the blue lines or the gray circle to rotate the movieclip.
ムービクリプを3次元で回転する簡単なサンプルを作って見ました。Use rotationZ rather than rotation on TextField ポストで言った通り、テキストフィルドも正しく表れるんです。
青いラインやグレー円をドラグすると、ムービクリプを回転出来ます。
青いラインやグレー円をドラグすると、ムービクリプを回転出来ます。