Are you asking about being able to move the object based on the users mouse 
position? But since you say you only have the (x,y), that you want to also 
maintain the correct original z value? I am not sure my guess is even right. 
You want to move it in z based on what?



On Aug 27, 2012, at 6:59 AM, vux <[email protected]> wrote:

> I have:
> 1. object in camera view.
> 2. cameraRight, cameraUp, cameraDirection - (MFnCamera)
> 3. position under mouse (x,y) in world space - (M3dView.viewToWorld)
> 4. vectror of pos.3
> 
> What i need to substract with 3. to move object in camera space (2d) with 
> correct(start) depth of object to camera
> 
> -- 
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: 
> http://groups.google.com/group/python_inside_maya/subscribe

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to