this works without setting the position to (0,0,0)

Code:
action djhero()
{
	var Rotat = 0;// is the var witch rotates the objekt
	pXent_settype(my,PH_RIGID,PH_CONVEX);// makes the entity to a phsiks ent. try some other collisionsmodes
	pXent_kinematic(me,1);// remove the gravity and other phsiks effekts
	while(1)
	{
		Rotat += 10*time_step;// add 10*time_step to the rotation
		pXent_moveglobal( me, my.x, vector(0,0,Rotat));// rotate the ent
		wait(1);
	}
}


sorry for my english
xxxxxxx


Es ist immer wieder erstaunlich, dass Leute die riesen Scripte schreiben die einfachsten sachen nicht können zb. mich mit SIEBEN x zu schreiben! tongue