SceneKit: use transform or directly manipulate rotation/position properties if goal is to rotate camera and project node X units in front of camera?
For a voxel art app, the goal is to let users move and rotate a camera in a SceneKit scene then tap to place a block. The code below lets a user rotate a camera by panning. After the gesture ends, we move an existing block so it is -X units on the camera's Z-axis (i.e., -X units in front of the camera). cameraNode is the scene's point of view and is a child of userNode . When the user moves a joystick, we update the position of userNode. Question: Other SO posts manipulate camera nodes by applying a transform instead of changing the rotation and position properties. Is one approach better than