Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,361 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 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