In Antwort auf:


Code:

path "mdl";

string box =<cube.mdl>;
function boxaction();

///////////////////////////////////////////////
function main()

{
var video_mode = 6; // 640x480
var video_depth = 16; // 16 Bit Farbtiefe

level_load("l1.wmb");

wait(1);

}
///////////////////////////////////////////////
function boxcre()
{
while(key_c){wait(1);}
ent_create(box,nullvector,boxaction);
}

on_c = boxcre();

///////////////////////////////////////////////
action boxaction

{
my.shadow=on;

ph_setgravity(vector(0,0,-500));
phent_settype(my,PH_RIGID,PH_box);
phent_setmass(my,2,PH_Box);
phent_setdamping(my,50,60);
phent_setfriction(my,40);
phent_setelasticity(my,60,80);

}







Vielleicht bringt des ja was


________________________________________________ Die Welt hat mich verlangt, sie hat nichts besseres verdient...