UDNPawn

class UDNPawn extends UTPawn;

// ****************Mesh Attributes****************** //

var SkeletalMesh defaultMesh;

var MaterialInterface defaultMaterial0;

var AnimTree defaultAnimTree;

var array<AnimSet> defaultAnimSet;

var AnimNodeSequence defaultAnimSeq;

var PhysicsAsset defaultPhysicsAsset;

//var SkeletalMeshComponent Ruth;

//—————————–FamilyClass

simulated function SetCharacterClassFromInfo(class<UTFamilyInfo> Info)

{

Mesh.SetSkeletalMesh(defaultMesh);

Mesh.SetMaterial(0,defaultMaterial0);

Mesh.SetPhysicsAsset(defaultPhysicsAsset);

Mesh.AnimSets=defaultAnimSet;

Mesh.SetAnimTreeTemplate(defaultAnimTree);

}

defaultproperties

{

   defaultMesh=SkeletalMesh’B_Characters.Ruth’

   defaultAnimTree=AnimTree’B_Characters.RuthAnimTree’

   defaultAnimSet(0)=AnimSet’B_Characters.RuthAnimSet’

   defaultPhysicsAsset=PhysicsAsset’B_Characters.Ruth_Physics’

}