Posted By: jojo1995
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); } }