CS1502 & CS1503 Errors for 2D Rigidbody Missile

Fairly new to all this, I’ve been converting some script from 3D to 2D, hit a stand still. Was wondering if anyone could assist me. I think that “Quaternion” isn’t compatible with 2D Rigidbody, i’m not looking for just assistance but some sort of explanation too. I get these two error CS1502 and CS1503.

Assets/Scripts/MissleBehaviour.cs(28,31): error CS1502: The best overloaded method match for `UnityEngine.Rigidbody2D.MoveRotation(float)’ has some invalid arguments

Assets/Scripts/MissleBehaviour.cs(28,31): error CS1503: Argument #1' cannot convert UnityEngine.Quaternion’ expression to type `float’

using UnityEngine;
using System.Collections;

public class MissleBehaviour : MonoBehaviour {
	public float missileVelocity = 100;
	public float turn = 50;
	public Rigidbody2D homingMissile;
	public float fuseDelay = 3;
	private Transform target;
	private float speed = 15;
	void  Start (){
	void  FixedUpdate (){
		if(target == null || homingMissile == null)
		homingMissile.velocity = transform.forward * missileVelocity;
		var targetRotation = Quaternion.LookRotation(target.position - transform.position);
		homingMissile.MoveRotation(Quaternion.RotateTowards(transform.rotation, targetRotation, turn));

		Destroy (gameObject, 3);
	void Fire (){
		//yield return new WaitForSeconds (fuseDelay);
		var distance = Mathf.Infinity;
		foreach (var go in GameObject.FindGameObjectsWithTag("target"))
			var diff = (go.transform.position - transform.position).sqrMagnitude;
			if(diff < distance)
				distance = diff;
				target = go.transform;

	void OnCollisionEnter (Collision theCollision){
		if(theCollision.gameObject.name == "TestEnemy 2")


From the documentation: Unity - Scripting API: Quaternion.RotateTowards

As you can see Quaternion.RotateTowards does not return a float which is needed by RigidBody2D.MoveRotation, that is what gets you the error.

Always from documentation: Unity - Scripting API: Rigidbody2D.MoveRotation

I think you can use the eulerAngles variable of the Quaterion returned by RotateTowards to get the rotation on the axis you need.

See http://forum.unity3d.com/threads/euler-quaternions-radians-degrees-huh.53407/