Code:

Function Roller_event
{
exit;
}

action roller
{
player=my;
my.enable_friction=on;
my.event=Roller_event;
phent_settype(my,PH_RIGID,PH_SPHERE);
phent_setmass(my,5,PH_SPHERE);
temp.y=0 ; temp.x=0; temp.z=-306;
ph_setgravity(temp);
phent_setfriction(my,100);
phent_setelasticity(my,0,0);
phent_setdamping(my,0,0);
while(my!=null)
{
update_camera();
If(key_a==1)
{
phent_addcentralforce(my,vector(400*cos(cam_winkel+90),400*sin(cam_winkel+90),0))*time;
}
if(key_d==1)
{
phent_addcentralforce(my,vector(-400*cos(cam_winkel+90),-400*sin(cam_winkel+90),0))*time;
}
if(key_s==1)
{
phent_addcentralforce(my,vector(-400*cos(cam_winkel),-400*sin(cam_winkel),0))*time;
}
if(key_w==1)
{
phent_addcentralforce(my,vector(400*cos(cam_winkel),400*sin(cam_winkel),0))*time;
}
wait(1);

}


}


Action Sieg
{
ziel=my;


}


So habe ich es im Moment, ich habe auch schon versucht, enable_friction in die Action Sieg zu machen,
das klappt aber auch nicht.