开启辅助访问
 找回密码
 注册帐号

扫一扫,访问微社区

clothskinningcoefficient.collisionspheredistance 碰撞球体距离

2015-1-4 15:37| 发布者: 杨炎| 查看: 1057| 评论: 0|原作者: 蛮牛|来自:

摘要 : clothskinningcoefficient.collisionspheredistance 碰撞球体距离varcollisionspheredistance: floatdescription描述definition of a sphere a vertex is not allowed to enter. this allows collision against the ...

clothskinningcoefficient.collisionspheredistance 碰撞球体距离

varcollisionspheredistance: float

description描述

definition of a sphere a vertex is not allowed to enter. this allows collision against the animated cloth.

定义一个球体的一个顶点不允许进入。这允许反向碰撞动画布料。

the pair (collisionsphereradius, collisionspheredistance) define a sphere for each cloth vertex. the sphere's center is located at the position constrainposition - constrainnormal * (collisionsphereradius + collisionspheredistance) and its radius is collisionsphereradius, where constrainposition and constrainnormal are the vertex positions and normals generated by the meshrender" target="_blank" class="relatedlink">skinnedmeshrenderer. the skinnedcloth makes sure that the cloth vertex does not enter this sphere. as a typical usecase, set collisionspheredistance to zero and collisionsphereradius to a large value w.r.t. the triangle size. in this setup, the cloth collides against the skinned mesh. default: 0.0 range: [0,inf)

这两个(collisionsphereradius, collisionspheredistance) 定义每个布料顶点的一个球体。该球体的中心是位于位置 constrainposition - constrainnormal * (collisionsphereradius + collisionspheredistance) 并且它的半径是collisionsphereradius,其中constrainposition和constrainnormal是顶点位置和由skinnedmeshrenderer生成的法线。skinnedcloth确保布料顶点不进入这个球体。作为一个典型的用例,设置collisionspheredistance为0和collisionsphereradius一个大值 w.r.t.。t是三角形大小。在这个设置,布料反向碰撞蒙皮网格。默认:0.5 范围:[0,inf]

0 0 0 0 0

相关阅读

最新评论

推荐阅读
热门帖子
A星六边形图示自动寻路,显示攻击范围等
A星六边形图示自动寻路,显示攻击范围等 大家一起学习一下 ...查看全文
ab框架
ab框架 ab框架 包括一键标记打包 加载卸载 最核心的功能已具备 可自行扩展 根据某位老师的视 ...查看全文
41568_Square City Architect v1.1.1(Nov 03,2017)u5.6+
41568_Square City Architect v1.1.1(Nov 0 Square City Architect 3D Models/Characters gbFactory (10) $30.00 Upgrade $15.00 ...查看全文
次时代模型
次时代模型 压缩包里的那个压缩包是源文件,模型没有贴图。 那个unity包是我自己上的贴图,只能做 ...查看全文
NGUI Next-Gen UI v3.11.4最新版(2017.06.28)
NGUI Next-Gen UI v3.11.4最新版(2017.06. 下载地址:(回复可见) **** 本内容被作者隐藏 **** unity技术交流群: ...查看全文
返回顶部