Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,438 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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