Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 11/22/26 10:49
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (LucasJoshua), 44,401 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ph_autodisable() ??? #37702
12/14/04 01:27
12/14/04 01:27
Joined: Oct 2003
Posts: 66
Berlin
T
Tester Offline OP
Junior Member
Tester  Offline OP
Junior Member
T

Joined: Oct 2003
Posts: 66
Berlin
I have seen in the update text to version 6.3 that there is a new parameter to
adjusts time-out values for automatically disabling physics entities. I tried
a lot to set the time-out value, but got every time an error message.
Can somebody tell me how to use this parameter or is it enabled automaticly ?

Re: ph_autodisable() ??? [Re: Tester] #37703
12/14/04 16:43
12/14/04 16:43
Joined: Oct 2003
Posts: 66
Berlin
T
Tester Offline OP
Junior Member
Tester  Offline OP
Junior Member
T

Joined: Oct 2003
Posts: 66
Berlin
Even Conitec should have an answer what a command it is :

Quote:

ph_autodisable()
Adjusts time-out values for automatically disabling physics entities.
Remarks:
When a physics entity has been inactive, i.e. moving only a very small
amount for a number of frames, it will be disabled automatically. When
changes are made to this physics entity by calling one of the phent_xxx
functions, or if an active physics entity collides with the disabled
one it will be enabled automatically. Please note that non-physics
entities will need to use c_move to corectly enable auto-disabled
entities. Just placing an entity using my.x will not cause the entity
to be re-enabled.




Re: ph_autodisable() ??? [Re: Tester] #37704
12/15/04 06:19
12/15/04 06:19
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
ph_setautodisable(lmaxlin,lmaxang,lminframes, lmintime)
with
lmaxlin: maximum linear motion per frame that will be considered as resting
lmaxang: maximum angular motion per frame that will be considered resting
lminframes: minimum number of frames resting before entity gets disabled
lmintime: minimum time in secs before resting entity gets disabled

Default: ph_SetAutoDisable(0.01, 0.008, 10, 0.1);

When do you get error messages ?


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