Will ich mal nicht so sein
Wolltest mir ja auch helfen, deshalb eine komplette Action:
Code:
action kugel
{
phent_settype(my, ph_rigid, ph_sphere); // Ich bin ein Ball, fest und rund. Jaja!
phent_setmass(my, 1, ph_sphere); // Ich bin etwa 1 Kilo schwer
phent_setfriction(my, 5); // Reibungsfaktor
phent_setdamping(my,0, 50); // Dämpfungsfaktor, z.B. Luftreibung
phent_setelasticity(my, 10, 0); // Elastizität
temp.x = 0;
temp.y = 0;
temp.z = -380; // Gravitationskonstante, -380 = 9.81 m/s2
ph_SetGravity(temp); // Setze Schwerkraft
}
Denk dran das wir bemitleidenswerten COM User nur ein Physikobjekt zur gleichen Zeit haben können