[英]Is there an away3D hitTestObject equivalent?
i am working with away3D and i find myself in dire need of a hitTestObject-method. 我正在与away3D合作,我发现自己迫切需要一种hitTestObject方法。 As far as i have found out, there is no such method present in the library.
据我发现,库中没有这种方法。 I have already tried distanceTo, but that calculates the distance from the centerPoints, so using this method is not an option since i need to detect all collisions.
我已经尝试过distanceTo,但是它会计算到centerPoints的距离,因此不能选择使用此方法,因为我需要检测所有碰撞。
Does anyone have a good way of detecting hits on another object in away3D? 有没有人能很好地检测away3D中另一个对象的命中率? thanks in advance.
提前致谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.