XNA Creators Club Online

news details

New DevEd Content Available!
News
submitted
21/10/2009
Two new content items have been added to the Education Catalog today; Primitives 3D and Skinned Model Extensions tutorial.

Primitives 3D Sample

This sample provides easily reusable code for drawing basic geometric primitives:
  • Cube
  • Sphere
  • Cylinder
  • Torus
  • Teapot
These classes are particularly useful when debugging 3D games. For example, you could use them to display your collision bounding boxes or bounding spheres as translucent or wireframe 3D models.


Skinned Model Extensions Tutorial

This tutorial will teach you how to extend the Skinned Model sample by directly accessing and manipulating the positions of specific bones to add three new features:
  • Overriding the position of selected bones from your C# code, so the head or arm can be rotated independently of the rest of the animation
  • Positioning an object relative to an animated bone, so the character can hold a baseball bat
  • Attaching a set of bounding spheres to the animated character, which can be used for collision detection
The first step is to download the latest (Game Studio 3.1) version of the Skinned Model sample. It is important to make sure you have the 3.1 version of the sample, as this tutorial will not match up properly if you are following along using an older version!

If you want to jump straight to the end result, the final code produced by following this tutorial can be found in the SkinnedModelExtensions subfolder.

Download both today from our Education Catalog!

var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG