Sorry for this post again. But I think I am almost there right now.

I have the following code:

Code:

action gondel01 {
my.passable = on;

//Physics on
phent_settype(my,PH_RIGID,PH_SPHERE);
//Set a weight
phent_setmass(my,100,PH_SPHERE);
//Set a friction
phent_setfriction(my,20);
//Set an elasticity
phent_setelasticity(my,50,5);
//Set a damping
phent_setdamping(my,50,90);
//Set a gravity
ph_setgravity(earthGravity);

gondel1 = phcon_add(PH_HINGE,my,kruis1);
phcon_setparams1(gondel1,my.x,vector(0,0,0),nullvector);
phcon_setparams2(gondel1,vector(-360,360,0),nullvector,nullvector);

while(my) {

vec_for_vertex(temp,kruis1,881);

my.x = temp.x;
my.y = temp.y;
my.z = temp.z;

wait(1);
}
}


But now, the model flips backward. But they need to rotate around a certain (world) point (0,0,0). How can I fix this?