Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, OptimusPrime), 15,359 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
jerky movement with zero gravity #30483
07/15/04 21:36
07/15/04 21:36
Joined: Aug 2003
Posts: 275
Germany
kopitzki Offline OP
Member
kopitzki  Offline OP
Member

Joined: Aug 2003
Posts: 275
Germany
I have spheres moving endlessly without any gravity. They are to move quite slowly. The problem is, they move jerkily like at a frame rate of 10 fps. Have I missed anything with the settings?:

Code:
 


FUNCTION bitaction()

{
var v[3];
my.flag8=on;
my.transparent=on;
my.alpha=80;
my.material=mat_kugel;

v.x=1000;vec_rotate(v.x,emitter.pan);//emitter=emitting entity

phent_settype(my, PH_RIGID, PH_sphere);
phent_setmass(my, 0.2, PH_sphere);
phent_setfriction(my, 0);
phent_setelasticity(my, 100, 10);
ph_setgravity(nullvector);
phent_enable(my,1);
phent_setmaxspeed( my, 1200, 500);
phent_addcentralforce ( my, v );

}


FUNCTION init_bitting()

{

you=ent_create ("sphere.mdl", emitter.x, bitaction);//emitter=emitting entity
wait(1);

}


on_e=init_bitting;




Re: jerky movement with zero gravity [Re: kopitzki] #30484
07/16/04 06:05
07/16/04 06:05
Joined: Aug 2003
Posts: 275
Germany
kopitzki Offline OP
Member
kopitzki  Offline OP
Member

Joined: Aug 2003
Posts: 275
Germany
Although nobody seems to be interested in this topic, I'll tell you what I've found out: My monitor has a maximum of 60 Hertz. After setting PH_FPS_MAX_LOCK to 60 everything works fine.


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1