This project is read-only.

Camera coordinates

Oct 4, 2011 at 6:42 PM

So i have been messing with adding objects into the scene and if you want to add something that is not attached to a markernode then it has to be added relative to the camera which as i understand it then is that the camera is the origin, but when adding marker node if you add something relative to that then the marker is considered the origin, I need a way to figure out the markers position relative to the scenes camera. 

Oct 14, 2011 at 4:21 PM

Marker position relative to the scene camera is exactly MarkerNode.WorldTransformation. If you mean camera position relative to the marker, then it's Inverse of MarkerNode.WorldTransformation.