nukescripts.translateRotatePivot

nukescripts.translateRotatePivot(nodeToSnap, translate, rotate)[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).