如果你正在编写一个撞球游戏,你可以使用PickRaySegment表示撞球杆并使用BoundingSphere拣选以检查球与球之间的碰撞。
If you were writing a pool game you could use a PickRaySegment to represent the pool cue and you could pick with BoundingSphere to detecting collisions between the balls.
只有球相同的颜色,可搭配,碰撞球不同的颜色将你的一些生活。
Only balls of the same color can be paired, colliding balls of different colors will take some of your life.
如何把一些物体一起向左还是碰撞球吗?
How to move a few objects together to the left and still collide with ball?
应用推荐