Hi,
I’m trying to create homing missiles that are driven by the physics system.
I’ve managed to get the missiles to rotate towards the target using the target rotation property on a configurable joint.
The only problem is that I want it to rotate around the back of the missile not the centre.
Any ideas?
The code I’m using to calculate the Target Rotation is :
Joint.targetRotation = Quaternion.Inverse(Quaternion.LookRotation(Target.position - this.transform.position));
Thanks