nukescripts.geosnap3d.translate_rotate_pivot

nukescripts.geosnap3d.translate_rotate_pivot(node_to_snap, translate, rotate, current_frame)[source]

Pivot translation and rotation must keep the object stationary and in order to do that compensation values must be placed in the geometry translate and rotate.

Parameters:
Return type:

tuple

Returns:

A tuple with the new geometry translation and rotation respectively (_nukemath.Vector3, _nukemath.Vector3).