Class TreadsTrailer extends Effects;

var vector PrePivotRel;

function PostBeginPlay()
{
	SetTimer(0.2,True);
}

function Tick(float Delta)
{
	if (Vehicle(Owner) != None)
	{
		if (Vehicle(Owner).GVT != None)
			PrePivot = (PrePivotRel >> Owner.Rotation) + Vehicle(Owner).GVT.PrePivot;
		else
			PrePivot = (PrePivotRel >> Owner.Rotation);
	}
}

function Timer()
{

	If (Owner == None)
		Destroy();
}

defaultproperties
{
	RemoteRole=ROLE_SimulatedProxy
	DrawType=DT_Mesh
	Physics=PHYS_Trailer
	bTrailerSameRotation=True
	bTrailerPrePivot=True
	bNetTemporary=False
}
