Setting the Mass object up is not important. Just set the mass up as 1, and set it up as a sphere of radius 1 or something. (or a box). An incorrect Mass is not usually detectable by the user unless the object being represented is really long and thin. The mass should have the correct center of gravity though, which is implicit by using just one body to represent the dice
The spheres need to be equally distributed around the body, not offcenter. So for every sphere places at +x,+y,+z there needs to be another sphere at -x,-y,z. Common sense.
So to use a GeomTransform you simply set your spheres up first (with setPosition, using the offsets, not global coordinates), and don’t add them to a space. Then you create a geomTransform encapsulating each sphere (I think this is done at construction time of the GEomTRansform). Then you add the GeomTRansform object to the body, and add the GeomTransform to the space. So nowhere do you add the sphere object directly to the body or space. The GeomTransform uses the coordinates in the Shere object to offset the geometry relative to the body.
If you use the default graphics behaviour of the XithManager, the above description will create graphical representations of the spheres and that should all look realistic w.r.t colli8sion behavior. You then need to draw you graphics mesh using the positional information obtained from one of the geoms or the body object. The body positional information is most intuitive because that will be centered w.r.t to the center of mass. Although using a sphere’s might actually correct a mesh that is described using only positive coordinates. There is a chance your graphical representation is not centered, in which case you will have to repositions the graphics from the body’s geometry. You need to learn some basic computer geometry concepts if you can’t do this.
The radius of the spheres is kinda dependant on the scale of the dice. If the dice is 10,000 units in diameter you probably want spheres of radius 100 or something. For this application you aren’t really worried about a small object penetrating the dice. So maybe set the diameter of the spheres to about 10% of the total diameter of the dice. It shouldn’t really be a critical thing though anyway.