Gamestudio Links
Zorro Links
Newest Posts
NOMAX undeclared identifier.
by Petra. 01/09/26 21:12
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/07/26 15:14
Zorro locks DLL
by jcl. 01/07/26 13:33
zorro with ccxt?
by qin. 01/07/26 07:50
The new evaluation system
by jcl. 01/05/26 08:50
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (Petra, TipmyPip, AndrewAMD, M_D), 3,282 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Namitha_NN, Syndrela, agasior, mosfet, MonsterX
19188 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