I am (finally) getting around to firing up 3DGS and getting into some physics.

I have created 12 boxes, assigned the following physics attributes :

phent_settype(Me,PH_RIGID,PH_BOX);
Phent_setmass(Me,0.5,PH_BOX);
phent_setdamping(Me,15,15);
phent_setelasticity(Me,15,1);
ph_setgravity(earthgrav);
ph_setautodisable(0.01,0.1,10,0.1);
ph_selectgroup(1);

(earthgrav is defined as [0,0,-389])

Some of the boxes are stacked (in WED) and when the ph_selectgroup(1) takes effect, they just "tumble" into each other instead of staying put .

I changed the ph_setautodisable values because it always seems like one of the boxes just kept spinning around its own vertical axis.

I've also tried to change the model in MED (moving it so that the origin is dead center). I have searched the forum, but have not found anything so far.

Any tip where I could find some stuff on this would be appreciated !

Cheers,
Andreas


____________________________________________________
GameCore / Unity / UDK
Lightwave 9.6 / Blender / Fragmotion / ZBrush 3.5
TextureMaker / PSP-X