Exemple #1
0
 private void UpdateText()
 {
     text.Dispose();
     text       = new Text3D(textInfo.textColor, Size, Depth, font);
     text.Pitch = (float)Math.PI / 2;
     text.Text  = textInfo.theText;
     Add((RigidPart)text);//, new Microsoft.DirectX.Vector3(0, 0, 0));
     //text.LocalPosition = new Microsoft.DirectX.Vector3((0.75f * Size), -0.447f, -Size * 0.8f);
     text.LocalPosition = new Microsoft.DirectX.Vector3(0, 0, 0);
 }