Notifications
Clear all
[Closed] UVW_Map_Gizmo real Position
Sep 20, 2017 2:56 pm
Hi,
Im trying to access the Gizmo Position.
Problem is that the UVW_Map was applied on two objects, so it took center point of selection as its origin.
When i access it by:
$.modifiers[1].gizmo.position
It returns near [0,0,0] values, but the gizmo is offset from the pivot.
Normally when you apply UVW_Map, gizmo stays at [0,0,0] at the center of Object pivot point.
Is there some normal way of getting the actual position of the gizmo ?
Regards
Eryk
3 Replies
Sep 20, 2017 2:56 pm
(
$.modifiers[1].gizmo.position * (inverse (getModContextTM $ $.modifiers[1])) * $.objectTransform
)
Sep 20, 2017 2:56 pm
Thank you very much Kostadin, you have powerful scripts and plugins out there!
Best Regards
Eryk