Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let mat = self.sceneView.pointOfView.transform
- let forwardDirection = SCNVector3(-1 * mat.m31, -1 * mat.m32, -1 * mat.m33)
- let position = self.sceneView.pointOfView!.position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement