I have moving objects which I want to have be able to collide with me the player. I have the ability to launch objects from me by getting my current position/direction at that t
Following code work for me to get the current position(x,y,z coordinates) of the camera.
let pov = sceneView.pointOfView let position = pov?.position let x = position?.x let y = position?.y let z = position?.z