AS3如何创建双面影片剪辑,当旋转显示的另一面呢? [英] AS3 How to create double sided MovieClip which when rotation shows the other side as well?

查看:234
本文介绍了AS3如何创建双面影片剪辑,当旋转显示的另一面呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个影片剪辑有两帧。在第一帧I具有前侧和在第二予有背面。我转了MovieClip通过的rotationX,的rotationY,性能的rotationZ

I have a movie clip which has two frames. On the first frame I have the front side and on the second I have the back. I am rotating the MovieClip by rotationX, rotationY, rotationZ properties.

我想显示帧2时,影片剪辑旋转。请帮忙。我不想使用PaperVision类。另外,请考虑视角看现场。

I want to display the frame 2 when the MovieClip rotates. Please help. I dont want to use PaperVision class. Also, please consider the Perspective View of the scene.

有时候,影片剪辑可能不仅依赖于旋转。它也同样依赖于位置(仅在透视图中)。

Sometimes, the MovieClip might not only be dependent on rotation. It is also equally dependent on the position (only in Perspective View).

谢谢您考虑我的问题。

问候, SANKET

Regards, Sanket

PS:请在这里检查问题 http://sanket.info/as3/problem.gif

PS: Please check the problem here http://sanket.info/as3/problem.gif

推荐答案

我想补充到现有的解决方案,这里有一些现成的实用工具:

Just to add to the existing solutions, here are some ready made utilities:

  • Thibault Imbert's SideDetector
  • Senocular's IsFrontFacing
  • Soulwire's Double Sided 3D Plane

心连心

这篇关于AS3如何创建双面影片剪辑,当旋转显示的另一面呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆