Hi!
I use this code to a box object:
Code:
action box_grav
{
phent_settype(my,PH_RIGID,PH_box);
phent_setmass(my,23,PH_box);
phent_setfriction(my,25);
phent_setelasticity(my,50,5);
phent_setdamping(my,50,90);
ph_setgravity( vector(0,0,-386) );
}
If I take this action on more than 10 object then it clogged, i think the fps will be smoll.
Where can I show the fps and how can I optimize?
I hope you can understand, sorry for my english.