2017-05-19 4 views

답변

0

SCNNode 위치는, 그러나

// Storing the position of myNode node into nodePosition variable 
SCNVector3 nodePosition = myNode.position; 

SCNVector3

입니다.

대신

, 당신은 현재의 위치에 대한 .presentationNode 속성을 읽어야

// Getting the current position of myNode 
// if an animation or physics simulation is in progress 
SCNVector3 nodePosition = myNode.presentationNode.position; 
관련 문제