- 最后登录
- 2022-10-8
- 注册时间
- 2010-12-6
- 阅读权限
- 100
- 积分
- 14150
- 纳金币
- 76544
- 精华
- 23
|
blaze旋转角度控制问题
————————————————————
问:哪位大侠知道如何通过as代码控制模型在blaze里的旋转角度。例如我不想显示模型的底部,麻烦高手帮忙解答一下?
答:
用这个函数workit()
http://www.holomatix.com/knowled ... g-mouse-navigation/
可以参考这里
If you want to include mouse control so that the user can interact with your 3D model using their mouse, you need to include some ActionScript code in your 3D MovieClip. Decide which navigation paradigm best suits your Blaze 3D project and simply copy and paste the relevant ActionScript code into your 3D MovieClip.
Standard Navigation is used to follow the standard Holomatix/Blaze 3D navigation paradigm, suitable for general applications, including 360-degree 'all-around the product' presentations. Simply copy and paste the ActionScript code available here into your 3D MovieClip.
Automotive Navigation is used to allow an 'around and over' navigation paradigm ideal for automotive applications. Simply copy and paste the ActionScript code available here into your 3D MovieClip.
To save either set of code, simply right click the above links and select 'Save Target As'.
|
|