|
i m having a camera attached to some game object . i want to stop camera transformation when the parent object moves . how can i do that ?
(comments are locked)
|
|
Hi Humb, childs are always transformed with their parent. That is pretty much the only reason for the existance of such a scenegraph mechanism. If you do not want to unparent it completely, you have some choices
(comments are locked)
|
|
Unparent it EDIT: I guess you could just set the child's transform directly by capturing the target transform.position when you want it to stay put, then in the Update on the camera: transform.position = targetPosition; without doing that
Jul 19 '12 at 09:33 AM
Humb
(comments are locked)
|

So basically, you want your camera to be parented but not parented at the same time???