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
0 registered members (), 17,416 guests, and 5 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
Couldn't move the model after disabling physics #187464
03/07/08 15:59
03/07/08 15:59
Joined: Mar 2008
Posts: 16
E
eminent Offline OP
Newbie
eminent  Offline OP
Newbie
E

Joined: Mar 2008
Posts: 16
Hello guys,
I am new to 3D Game Studio, and I have some problems regarding the physics of the models. In my project, I added an action to my model, a car in this case. The actions disables and enables the physics on the model and preform car movement. However, I couldn't move the car after the physics is disabled.
The code snippet is shown below, hope it is clear.
#in the infinite loop
if(key_cuu == on)
{
phent_enable(me,0);
c_move(my,vector(speed,0,0),nullvector, glide);
phent_enable(me,1);
}

The c_move is not working after I disabled the physics. Do you guys have any solutions? Thanks in advance.

Re: Couldn't move the model after disabling physic [Re: eminent] #187465
03/08/08 13:29
03/08/08 13:29
Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
C
Christian__A Offline
User
Christian__A  Offline
User
C

Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
maybe you should wait one frame before using c_move?


MfG, Christian__A. Visit my Site: www.chris-a.de



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