Game Development Community

Tutorial for DTS skin sets?

by Matt McCracken · in Torque Game Builder · 03/12/2006 (2:30 pm) · 0 replies

The t2dshape3d tutorial references skin sets for the setSkin function. It also claims to assume that I already know how to create a skin set, unfortunately I do not. Can someone point me to a guide on the subject?

Thanks.

From the tutorial:

Shape Skin

The following assumes you fully understand how to create and define DTS skins and skin-sets. To specify a skin/set simply use the following:



// Set Shape Skin.
%shape.setSkin( "mySet", "mySkin" );



A skin-set allows you to specify a group of skins into a logical group. This is rather advanced and quite often, you'd have a single default skin (meaning you'd use this function) or multiple skins all in the same set.