Frequency problem
9 posts • Page 1 of 1
Frequency problem
Hey all!
It's me again and I have a little problem with frequency. My SE's works good on 200 Hz, default config runs on 100 Hz.
It's possible to apply in my scene 200 Hz and enforce this value in other PC in Phun. Yes i still work in Phun.
If it's available how to do that?
I'm really need this.
It's me again and I have a little problem with frequency. My SE's works good on 200 Hz, default config runs on 100 Hz.
It's possible to apply in my scene 200 Hz and enforce this value in other PC in Phun. Yes i still work in Phun.
If it's available how to do that?
I'm really need this.
-

Roman - Posts: 43
- Joined: Sun Sep 06, 2009 9:32 pm
- Location: Tri-city, Poland
Re: Frequency problem
Yes it is possible, I used it in my F-15 game. Just put sim.frequency=200 into an object's oncollide.
But remember to tell people that you've done so...
But remember to tell people that you've done so...
-

TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: Frequency problem
It doesn't work :/ I write this code into falling box when it's fall nothing changes. I'm sure I do something wrong can You guide how to do that?
I repeat i work in Phun
I repeat i work in Phun
-

Roman - Posts: 43
- Joined: Sun Sep 06, 2009 9:32 pm
- Location: Tri-city, Poland
Re: Frequency problem
Ha, fail, I was just about to say use lasers 
Anyways, I thought it was sim.timedelta in phun?
Anyways, I thought it was sim.timedelta in phun?
-

bozbez - Posts: 149
- Joined: Tue Apr 12, 2011 7:01 pm
Re: Frequency problem
yep, its sim.timedelta in phun,
The default sim.timedelta, however, is
In theory, you could just double that to get 200hz, but i think it may be a game of trial and error to get it to exactly 200
The default sim.timedelta, however, is
- Code: Select all
0.0099999998
In theory, you could just double that to get 200hz, but i think it may be a game of trial and error to get it to exactly 200
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: Frequency problem
I think frequency problem in Phun is resolved. sim.timedelta means frequency.
I resolved this code:
timeDelta = 0.0099999999 = 100 Hz
timeDelta = 0.0049999999 = 200 Hz
If timedelta decreases then frequency grows up! That's it!
I resolved this code:
timeDelta = 0.0099999999 = 100 Hz
timeDelta = 0.0049999999 = 200 Hz
If timedelta decreases then frequency grows up! That's it!
-

Roman - Posts: 43
- Joined: Sun Sep 06, 2009 9:32 pm
- Location: Tri-city, Poland
Re: Frequency problem
It's the number of seconds before it updates itself.
-

bozbez - Posts: 149
- Joined: Tue Apr 12, 2011 7:01 pm
Re: Frequency problem
If you ever wonder about commands in Phun/Algodoo, it is great to look at this list: http://www.algodoo.com/forum/viewtopic.php?f=13&t=83
-

Dare - Posts: 833
- Joined: Sat Nov 21, 2009 4:27 pm
- Location: Sydney, Australia
Re: Frequency problem
Yeah, but the list is for Algodoo, not Phun.
-

bozbez - Posts: 149
- Joined: Tue Apr 12, 2011 7:01 pm
9 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests






