摘要
为了增强游戏场景的真实性,主要研究Unity3D中的碰撞检测方法。分析组件碰撞、射线碰撞以及距离碰撞这三种碰撞检测方法的原理,对比其使用条件、范围及优缺点,最终实现三维生态庄园游戏的开发。该碰撞检测方法已经应用在实际游戏开发中,可提高碰撞检测准确率及运行效率,增强游戏真实感。
To enhance the authenticity of the game scene, studies the collision detection in the Unity3D. Analyzes the three principles of collision detection methods includes components collision, ray collision and distance collision, compares their conditions of usage, range of appli-cation, advantages and disadvantages, and ultimates the development of three-dimensional ecological manor game. Uses these collision detection methods in practical game development, and the results show that these technologies are effective with accurate rate and can add verisimilitude greatly.
出处
《现代计算机》
2014年第1期35-37,41,共4页
Modern Computer
基金
北京市大学生科学研究与创业行动计划项目(No.NCUT2014008)
关键词
真实感游戏
组件碰撞
射线碰撞
距离碰撞
Photorealistic Game
Components Collision
Ray Collision
Distance Collision