- 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
Your answer
![](https://koobas.hobune.stream/wayback/20220612213310im_/https://answers.unity.com/themes/thub/images/avi.jpg)