Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,027 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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