Hello there,
I’ve got a sphere/globe that I’m firing a missile around and I’ve got the trajectory correct with orbit at the appropriate height but I’m having issues getting it to face the current direction of travel.
I’ve tried - transform.localRotation = Quaternion.LookRotation (missile.velocity, Vector3.forward);
missile being the parent object - where I’m getting the rigidbody current vector3 velocity
transform being the child object representing the missiles body.
Any hints appreciated!
Thanks