Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,655 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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