local Subitem = vci.assets.GetTransform("Subitem") local Subitem2 = vci.assets.GetTransform("Subitem2") function updateAll() local Vec1 = Subitem.GetUp(); local Vec2 = Subitem2.GetPosition() - Subitem.GetPosition(); local Rot1 = Subitem.GetRotation(); local Rot2 = Quaternion.FromToRotation(Vec1, Vec2); local Rot3 = Rot2*Rot1; Subitem.SetRotation(Rot3); end