本文介绍了盒子/立方体与C#的交叉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何检测两个未在C#中旋转的立方体的碰撞。如果如何计算相交量
我尝试过:
我试图使用这个基于矩形的例子来制作逻辑。
[]
但我卡住了不知道怎么回事
How to detect the collision of two cubes that are not rotating in C#. if how to calculate intersected volume
What I have tried:
I am trying to make logic with the use of this example which is based on rectangle.
c++ - Determine if two rectangles overlap each other? - Stack Overflow[^]
but i am stuck don't know how to preceed
推荐答案
这篇关于盒子/立方体与C#的交叉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!