Hallo,

i tried to do a script for a player. Is there a command in newton like ent_move? If i use newton in the player-function, the A6 collision-detction doesn´t work anymore. So, if i use c_move or ent_move, the player falls just through the floor. Please take a look at my script and tell me, how i could implement the moving, while pressing the cursor buttons.

Code:
 ACTION pod
{
player=my;
score.visible=on;
my.event=fall_event;
newtoncreategravityentity(wood_material);
while(1)
{

////camera////

update_views();
camera_to_target();

////walking////
ent_cycle("core", my.skill48 % 100);
my.skill48 += 8 * time;
c_move (me,laufen,nullvector,GLIDE+IGNORE_PASSABLE);
c_move (me,unten,nullvector,IGNORE_PASSABLE);




////controle////
if (key_cuu==1)
{

laufen=1;
ent_cycle("run", my.skill48 % 100);

}
else
{
laufen=0;
}

if (key_cud==1)
{

laufen=-1;
}
if (key_cul==1)
{
my.pan+=5*time;
}
if (key_cur==1)
{
my.pan-=5*time;
}


wait(1);
}
}

}



I hope, you can help me....

Regards Efrint