如何获得圆形和三角形的碰撞检测 [英] How to get collision detection of circle and triangle

查看:36
本文介绍了如何获得圆形和三角形的碰撞检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个三角形,一个在平面上移动物体的圆,我怎么知道两个物体相互碰撞。 ?

I have one triangle ad one circle moving objects on plane.How will i know both of them are collide to each other. ?

推荐答案

圆-三角形相交测试就是您想要的

http://www.phatcode.net/articles.php?id=459

Circle - triangle interesction test is what you want
http://www.phatcode.net/articles.php?id=459

这篇关于如何获得圆形和三角形的碰撞检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆