利来w66国际平台

  • 联系利来w66国际平台    Contact

    Unity3D的物理材质Physics Material实现物体表面的弹力摩擦力

    2017/6/26      点击:

    Unity3DZHONGPhysics MaterialDUIXIANGKEYISHEZHIWUTIDEWULITEXING,DUIZHEIGEDUIXIANGJINXINGBIANJI,BINGYINGYONGYUGameObjectDEcollider materialSHUXINGSHANG,KEYISHIWUTIJUYOUZIRANJIEZHONGWUTIDEYUNDONGTEXING。

    利来w66国际平台 Physics MaterialZHICHIDESHUXINGRUTU(JIETULAIZIunity4.3.3f1):

     各属性说明如下:



    利来w66国际平台 Dynamic Friction:DONGMOCALI,QUZHIFANWEIWEI0-1,QUZHIWEI0JIANGDAOZHIWUTIBIAOMIANJIEJINBINGMIANDETEXING,QUZHIWEI1SHI,CHUFEIYOUWAILIHUOZHONGLIZUOYONG,WUTIJIANGCHUYUJINGZHI


    Static Friction:静摩擦力,取值同Dynamic friction
    注:在中学物理中对摩擦力的定义是:当一个物体在另一个物体的表面上相对运动(或有相对运动的趋势)时,受到的阻碍相对运动(或阻碍相对运动趋势)的力,叫摩擦力,可分为静摩擦力和滑动摩擦力。


    利来w66国际平台 JINGMOCALI—— YOUXIANGDUIYUNDONGDEQUSHISHIFASHENGZUOYONG; HUADONGMOCALI ——XIANGDUIYUNDONGSHIFASHANGZUOYONG。

    JINGMOCALI<= DONGMOCALI


    Bounciness:DANLIHUODANXING,QUZHI0-1,0BIAOSHIBUFASHENGDANTIAO,JIWUTIDEDONGNENGWANQUANSUNSHI;1BIAOSHIWUTIFASHENGMEIYOUDONGNENGSUNSHIDEFANDAN,NAZIYOULUOTILAISHUOMINGDEHUA,RUGUOZHIWEI1,ZEWUTIHUIFANDANDAOZIYOULUOTIKAISHIDEDIFANG


    利来w66国际平台

    利来w66国际平台 Friction Combine:MOCAJIEHEHUOFUHEMOCA,FENWEI:

                Average:LIANGGEWUTIMOCALIDEPINGJUNZHI

    利来w66国际平台             minimum: LIANGGEWUTIMOCALIDE*XIAOZHI 

                maximum:LIANGGEWUTIMOCALIDE*DAZHI

                multiply: LIANGGEWUTIMOCALIXIANGDIEJIA

    ZHU:DANGLIANGGEWUTIJIECHUSHI,bounciness HEfirctionFENBIEZUOYONGYUGEZIWUTI。LIRU A(average) HEB(multiply) ,ADEXINGWEI

    ZUNXUNaverageMOSHI,BDEXINGWEIZUNXUNmultiplyMOSHI。

    利来w66国际平台 Bounce Combine:DANXINGJIEHEHUOFUHEDANXING,XINGWEIFANGSHITONGFirction Combine。

    利来w66国际平台 Fiction Diraction 2:The direction of anisotropy. Anisotropic friction is enabled if this direction is not zero. Dynamic Friction 2 and Static Friction 2 will be applied along Friction Direction 2

    利来w66国际平台 Dynamic Friction 2: If anisotropic friction is enabled, DynamicFriction2 will be applied along Friction Direction 2

    利来w66国际平台 Static Friction 2:  If anisotropic friction is enabled, StaticFriction2 will be applied along Friction Direction 2