So, i'm making a game about building stuff in TotK fashion. I have rigidbodies, that have Node3D as children to represent snapping points. When i bring two snapping points close enough, i set the position of one rigidbody so its snap point is at the exact same place as the other rigidbody's. I managed to make this part work.
I also want to set the rotation of the rigidbody so its snap point's forward vector is aligned with the opposite of the other snap point forward vector. And this is not working as expected, as rotations are a bit trickier than positions... Any help would be appreciated 🙂
this is when the snapping points are already correctly aligned, i just have to move the object