- Home /
smooth look at with offset
i trying to smooth look at with offset, but the offset doesn't work
Quaternion targetRotation = Quaternion.LookRotation(m_Offset - m_LookTarget.position);
m_Chest.rotation = Quaternion.Slerp(m_Chest.rotation, targetRotation, lookSpeed * Time.deltaTime);
where i should put m_Offset to work ??
Comment