【发布时间】:2017-07-21 10:55:53
【问题描述】:
我正在学习有关 ARKit 的在线教程,将对象放置在平面上。
boxNode.position = SCNVector3(hitResult.worldTransform.columns.3.x,hitResult.worldTransform.columns.3.y + Float(boxGeometry.height/2), hitResult.worldTransform.columns.3.z)
他使用上面的代码将其放置在您点击屏幕的位置
这是什么意思:
hitResult.worldTransform.columns.3.x
例如为什么是 columns.3 而不是 columns.0?
【问题讨论】:
-
另外几行,可以发一下教程的链接吗?