Hello everybody.

I have 2 entities. One is rotating and one is attached to that rotating entity. The one that is attached need to spinning around his Z-axis by G-Forces. Untill now I have this code of the physics:

Code:

phent_settype(my,PH_RIGID,PH_SPHERE);
phent_setmass(my,100,PH_SPHERE);
phent_setdamping(my,0,0);
phent_setgroup(my,2);
ph_setgravity(earthGravity);
ph_selectgroup(2);
//phent_addcentralforce(my,vector(kruis1.x,kruis1.y,kruis1.z));
phent_addvelcentral(my, vector(50,50,50));



The attached model doesn't spinning around. So how can I spin this model around by G-forces?

Thanks in advance for the answer.