纳金网

标题: Billboard (Physics Behavior) [打印本页]

作者: Asen    时间: 2011-10-19 10:31
标题: Billboard (Physics Behavior)






               Billboard (Physics Behavior)
              









           Summary
         

           Causes the parent object to always face the camera, with a variety of options.
         





               Category
              


              Latest Behaviors
            




               Author
              


              Gavin Kistner
            




               Difficulty
              


              (Reference)
            




               Time to Complete
              


              5 Minutes
            








           Downloads
         


            Click Here
           
           to download the associated files.
         


            (This document covers version 0.9.1 of the 'Billboard' behavior, current as of 2005-Feb-23)
           

            Description
           


             This behavior is primarily useful for simulating a 3D object by using an image map on a flat object, and causing that object to always face the camera as it or the camera moves.
            

             To cause the object to face the correct camera, you must choose the camera which will be rendering the layer with the object, using the
            
              Render Camera
            
             option. You may alternatively choose any other object, to cause the parent of this behavior to face that object.
            

             There are two types of billboarding available:
            



               Face Camera
              
              – the object rotates so that it is always facing the eye point of the camera. The object behaves like a small animal always watching a predator, even if the predator is walking past the animal without looking at it.
              

               
            


               Match Camera Rotation
              
              – the object rotates so that it always faces the same direction as the camera. (Also known as “side-of-the-road” billboarding; as the camera moves past the object, the object will behave like a billboard on the side of the road, showing its edge as the camera goes by. Flat and Depth Text objects use this type of billboarding.)
            


             For both types of billboarding, there is the option to either let the object rotate on all axes (the default) or to only rotate around the global y-axis by using the
            
              Y-Axis Only?
            
             property. For smoke and other particle effects, you likely will want to leave this unchecked. For cases where the object is sitting in the ground (such as a tree), you will want to check this property so that the object does not tilt forward and backward as the camera rises and falls.
            

             By default, this behavior assumes that the ‘front’ of the object is the negative Z side. You may use the
            
              Front Axis
            
             advanced property to change which local axis of the object should be rotated to face the camera.
            

             To cause particles created by the Particle Emitter behavior to billboard, attach this behavior
            
              to the Particle Emitter behavior itself
            
             .
            


            Basic Properties
           



              Render Camera
            

              The camera which will be rendering the scene.
            

              Billboard Type
            

              Always face the camera, or only match its rotation.
            

              Y-Axis Only?
            

              Only rotate the object about the global y-axis?
            



            Advanced Properties
           



              Front Axis
            

              The axis and direction that specifies the 'front' direction of the parent object.
            

              Start Immediately?
            

              Start immediately, or wait for the Enable action to be called?
            



            Actions
           



              Enable
            

              Begin keeping the parent object billboarded.
            

              Disable
            

              Stop rotating the parent object.
            



            Demonstration
           




              View Demonstration Project
            




              Download Project File
            






作者: C.R.CAN    时间: 2012-1-25 23:22
一帆风顺,双龙戏珠;三阳开泰,四季发财;五福临门,六六大顺;七星捧月,八面春风;九运当头,十全十美,花好月圆,合家欢乐 ,乐在其中, 恭喜发财,财源滚滚 !

作者: 晃晃    时间: 2012-3-12 23:26
好可爱的字,学习了

作者: 晃晃    时间: 2012-4-2 23:18
不错不错,收藏了

作者: tc    时间: 2012-5-31 23:41
好可爱的字,学习了

作者: 晃晃    时间: 2012-6-3 23:20
顶!学习了!阅!

作者: 菜刀吻电线    时间: 2012-8-12 00:27
真不错,全存下来了.

作者: 奇    时间: 2012-8-13 11:43
佩服,好多阿 ,哈哈

作者: tc    时间: 2012-8-15 01:10
先垫一块,再说鸟

作者: 菜刀吻电线    时间: 2012-8-16 23:20
我是老实人,我来也!

作者: 晃晃    时间: 2012-8-30 23:22
楼主收集的可真全哦

作者: 奇    时间: 2012-9-10 23:27
都闪开,介个帖子,偶来顶

作者: 晃晃    时间: 2012-10-16 23:19
真不错,全存下来了.

作者: 晃晃    时间: 2013-2-7 00:20
发了那么多,我都不知道该用哪个给你回帖了,呵呵

作者: 奇    时间: 2013-2-8 23:24
无聊时可以刷屏幕 灌水 也可以试试 帖子的标题究竟可以写多长

作者: 奇    时间: 2013-3-11 23:19
非常感谢,管理员设置了需要对新回复进行审核,您的帖子通过审核后将被显示出来,现在将转入主题





欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5