c# - Creating a skeleton from a text file -


i want create skeleton text file containing joint/x/y/z have issues creating joints

string[] jointpoints = line.split('/'); float x = (float)convert.todouble(jointpoints[1]); float y = (float)convert.todouble(jointpoints[2]); float z = (float)convert.todouble(jointpoints[3]); joint j = new joint(); var pos = j.position;  switch (jointpoints[0].toupper()) { case "head": //j.jointtype = jointtype.head; <--- can't this,  pos.x = x;pos.y = y;pos.z = z; playskeleton.joints[jointtype.head] = j; break; 


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -