Hi,
I am using SCNConstraints to zoom in on a geometry the user clicked, but would like to reset to my original position when the user clicks outside.
How do I reset my Camera to its original position?
I read constraints are changing the transform, but the position, transform and everything is unchanged. Yet when I set
nothing happens the camera stays where it last was and does not move and everything it contains claims a different position. even the world transform shows it's unchanged.
How do I reset a camera node to it's origin after I removed all constraints???
I am using SCNConstraints to zoom in on a geometry the user clicked, but would like to reset to my original position when the user clicks outside.
How do I reset my Camera to its original position?
I read constraints are changing the transform, but the position, transform and everything is unchanged. Yet when I set
Code Block constraints = nil
nothing happens the camera stays where it last was and does not move and everything it contains claims a different position. even the world transform shows it's unchanged.
How do I reset a camera node to it's origin after I removed all constraints???