When I applying modifications like "Track To" or/and "Copy Rotation" to object, it location of the object on Numeric Panel (Transform) does not changes but the object really change location and it see in a Viewport.

Also I tried to got coordinates from Python but unsuccessful, they mirror values from Numeric Panel:


How I can to get real position and rotation of the object? How to get numeric location that it can to copy and to apply to another object?

  • 2
    $\begingroup$ ob.matrix_world contains the visual transforms in global coordinates. eg loc, rot, scale = ob.matrix_world.decompose() $\endgroup$
    – batFINGER
    Dec 16 '20 at 17:44
  • $\begingroup$ Thank you! It does what I need $\endgroup$
    – microcoder
    Dec 16 '20 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.