【发布时间】:2013-01-16 12:19:02
【问题描述】:
LibGDX 有 Intersector 类,其中包含 intersectRayBoundsFast 函数。我想知道怎么用?首先如何像下面这样限制我的飞机?:
第二个问题是如何正确移动这个BoundingBox?没有setPosition、rotate等功能。
第三个问题是如何创建正确的Ray 对象来找到外壳和飞机的交点?
请帮帮我。
【问题讨论】:
标签: collision-detection libgdx intersection