# place an actor relative to camera

**URL:** https://discourse.vtk.org/t/place-an-actor-relative-to-camera/1130
**Category:** Support
**Created:** [June 13, 2019, 11:03pm UTC](https://discourse.vtk.org/t/place-an-actor-relative-to-camera/1130 "2019-06-13T23:03:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![svabhishek29](https://discourse.vtk.org/user_avatar/discourse.vtk.org/svabhishek29/32/479_2.png) [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)
#### Post date: [June 13, 2019, 11:03pm UTC](https://discourse.vtk.org/t/place-an-actor-relative-to-camera/1130/1 "2019-06-13T23:03:50Z")

</div>

hi,

i have a stereo tracking camera, with the transformations i am getting from that camera i am applying the transform on vtk camera through SetUserViewTransform or SetModelTransformMatrix. i am getting the same result from both of them and the camera is moving as i am moving the tracking camera in the real world.

my problem is i need to place an actor at 0, 0, 50 point relative to camera view, as in the actor should be at the center of the current view at a distance of 50 on z axis, how can i achieve this?

any help will be greatly appreciated, Thanks
