- Home /
Question by
Dorf · Aug 05, 2021 at 03:16 PM ·
rotationvector3quaternion
Rotate object so part of it faces another direction
I have two objects Square and Circle. Both have a point on them (A & B) and these points have a unit vector to show where they are facing. The blue dots are the pivots of each object. How would I rotate Square so that point A's direction faces to the exact opposite direction of point B's direction?
I can't figure out how to rotate an object so that an arbitrary point on them faces a specific direction.
illustration.png
(5.7 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613041246im_/https://answers.unity.com/themes/thub/images/avi.jpg)