欢迎来到天天文库
浏览记录
ID:41503264
大小:285.00 KB
页数:26页
时间:2019-08-26
《Collisions (virtools BB模块汉语翻译及用法详解)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、CollisionsBoxBoxIntersectionVersion1.00-VirtoolsCategorizedinCollisions/IntersectionDescriptionApplytoaBEOBJECT.Detectsthecollisionbetweentwo3Dentitiesattheboxlevel.BoxBoxIntersection.cmoTechnicalInformationIn:triggerstheprocess.True:isactivatedifthe2entitiesareinint
2、ersection.False:isactivatedifthe2entitiesarenotinintersection.Entity0:firstentitytobetested.Entity1:secondentitytobetested.Hierarchy0:specifywhethertoconcidertheboundingboxofthefirstentityanditschildren,orjusttheboundingboxofthefirstentity.Hierarchy1:specifywhetherto
3、concidertheboundingboxofthesecondentityanditschildren,orjusttheboundingboxofthesecondentity.Thisbuildingblockdetectsthecollisionbetweentwoentity'sboundingboxes.Warning-Thisbuildingblocktellsatagiventimeiftheobject1istouchingornottheobject2.Ifyouneedtoexecutethisteste
4、very5renderingprocess,youshouldthenloopthisbuildingblockwitha5framelink.Ifyouneedtoexecutethistestateachrenderingprocess,youshouldthenloopthisbuildingblockwitha1framelink.碰撞盒盒相交在Collisions/Intersection中将其分类描述适用于行为对象在一个立方空间内检测两个三维实体的碰撞BoxBoxIntersection.cmo技术信息In:触发该进
5、程True:如果两个实体交叉则被激活False:如果两个实体没有交叉则被激活Entity0:第一个受实验的实体Entity1:第二个受实验的实体Hierarchy0:明确指出是否考虑第一个绑定实体和它的子节点,或者只是第一个被绑定的实体。Hierarchy1:明确指出是否考虑第二个绑定实体和它的子节点,或者只是第二个被绑定的实体这个BB表示是在两个绑定的实体之间实现的碰撞。警告这个BB告诉我们在给定的时间内,如果对象1被接触不再是对象2。如果你需要执行这个测试每5个渲染进程,你就必须每5帧循环一次这个BB如果你需要执行这个测试在
6、每帧中,你就需要每帧循环一次这个BBBoxFaceIntersectionVersion1.00-VirtoolsCategorizedinCollisions/IntersectionDescriptionApplytoaBEOBJECT.Detectsthecollisionbetweenthefirstentity'sboundingboxandeachfacesofthesecondentity.BoxFaceIntersection.cmoTechnicalInformationIn:triggerstheproces
7、s.True:isactivatedifthe2entitiesareinintersection.False:isactivatedifthe2entitiesarenotinintersection.Entity1:firstentitytobetested.Entity2:secondentitytobetested.Thisbuildingblockdetectsthecollisionbetweenthefirstentity'sboundingboxandeachfacesofthesecondentity.Warn
8、ing-Thisbuildingblocktellsatagiventimeiftheobject1istouchingornottheobject2.Ifyouneedtoexecutethistestevery5renderingprocess,yousho
此文档下载收益归作者所有