Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Newbie Questions
by AndrewAMD. 12/04/23 11:14
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
2 registered members (TipmyPip, izorro), 556 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Stop physics impossible... #119768
03/27/07 15:05
03/27/07 15:05
Joined: Dec 2005
Posts: 57
Brazil
P
pesseba Offline OP
Junior Member
pesseba  Offline OP
Junior Member
P

Joined: Dec 2005
Posts: 57
Brazil
Hello...

I'm trying to stop the physics efects when the object is stopping... I'm reading the manual and trying to use these commands:

ph_setautodisable(100,100,100,100);
ph_autodisable();

The first doesn't work, like the manual code says.
The second doesn't run:"Error(97)-Syntax nonexist/empty function ph_autodisable()"

So, what's the matter?? Thanks...

Re: Stop physics impossible... [Re: pesseba] #119769
03/27/07 15:32
03/27/07 15:32
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
I would stop the object movement using phent_clearvelocity(my) when its velocity will be less than x, and then probably autodisable it or phent_enable(0).

As for the ph_autodisable() error i think its a 6.31.4 new feature..


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