Character Block Pull

Hello again. I have been toying around trying to get my character to be able to grab onto a block and pull it backwards. I have it able to be pushed already, and i have managed to interact with the block sort of, but i can not seem to control it like i want to. I have a simple script that attaches the main transform of the crate, as a child to the player character when they walk up to the crate and press E …

function OnTriggerEnter(other : Collider)
{
	if(Input.GetKey(KeyCode.E)  other.tag == ("Player"))
	{
		transform.parent.transform.parent = other.transform;
	}
}

Than, i can turn and rotate my character and the block rotates with me as if i am holding it, but when i move backwards, it stays in its position. I realise this is probably accomplished with some form of simple movement, but im unsure really where or how to implement it. Any tips or links to tutorials covering this kind of game mechaninc would be great. Thanks in advance everyone.

Just to be clear, have everthing else working , but i can not seem to figure out how to pull the crate.

Maybe you can go to my thread, it still work in progress.

http://forum.unity3d.com/threads/74774-HELP…PARENT-CHILD-and-COLLIDER-Problem.

ahh , nice , thanks for the heads up, checkin it out right now :stuck_out_tongue: