Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have created a VertexPositionColor position and drew it in the XNA like this

VertexPositionColor[] backbone;
backbone = new VertexPositionColor[2];

backbone[0].Position = new Vector3(0, 22, 0);
backbone[0].Color = Color.Black;
backbone[1].Position = new Vector3(0, 10, 0);
backbone[1].Color = Color.Black;

In the draw method

graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(PrimitiveType.LineList, backbone, 0, 1);

My question is, is it possible to map a 3d bone (Model exported as fbx) to these coordinates. or is there a much easier way to achieve this.

enter image description here

share|improve this question

1 Answer 1

Yes, is possible to visualize model bones. This article http://www.digitalrune.com/Support/Blog/tabid/719/EntryId/129/Visualization-of-a-Model-Skeleton.aspx help you with it. Result can be seen for example on this my video http://www.youtube.com/watch?v=H8SRPFsB6lc

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.