Visions Of Afar
The Struggles of a College Student in the Gaming Industry

Rough Edges Editor Scripting

July 29, 2009 06:33 by Garrett Hoofman

Script Used

if (tracking.Selected)
{
        REAnimModel model = tracking as REAnimModel;
        if (model != null && model.Track != "Walk")
             model.Track = "Walk";
             model.Translation = new Vector3(model.Translation.X + 0.05f, model.Translation.Y, model.Translation.Z);
}  else  {
         REAnimModel model = tracking as REAnimModel;
         if (model != null && model.Track != "Loiter")
             model.Track = "Loiter";
}


Comments are closed