Hello!
I have an object “hand”, which is a parent of an object “gun”. I need to calculate the rotation angle for the hand so that the muzzle of the gun is pointing at the cursor, but I don’t know how to implement this with a formula. How is it possible to do this?
How I have it right now:
How I want it to be:
I attach an example:
My Project.zip (45.1 KB)