|
|
C-move & feet problem
#374556
06/20/11 06:52
06/20/11 06:52
|
Joined: Aug 2010
Posts: 131 Iran
Mafia_IR
OP
Member
|
OP
Member
Joined: Aug 2010
Posts: 131
Iran
|
Hi guys ,there are two problem here that i don't know why ... 1) why this model can't moving during this terrain with c-move command ? 2) why it has distance from ground when i define this code for it ?
c_move(me,nullvector,vector(0,0,-1),IGNORE_PASSABLE);
Thanks ... 
|
|
|
Re: C-move & feet problem
[Re: Rei_Ayanami]
#374584
06/20/11 11:58
06/20/11 11:58
|
Joined: Aug 2010
Posts: 131 Iran
Mafia_IR
OP
Member
|
OP
Member
Joined: Aug 2010
Posts: 131
Iran
|
thanks of Rei_Ayanami ,for this important tip ...:) but question 1 : why this model can't moving during this terrain with c-move command ?
if(1 == key_w || 1 == key_s)
{
ent_animate(me,"run",player_animation_speed,ANM_CYCLE);
c_move(my,vector((key_w - key_s)*20*time_step,0,0),nullvector,IGNORE_PASSABLE);
}
Last edited by Mafia_IR; 06/20/11 11:59.
|
|
|
Re: C-move & feet problem
[Re: Mafia_IR]
#374595
06/20/11 14:00
06/20/11 14:00
|
Joined: Aug 2009
Posts: 1,438 Spain
painkiller
Serious User
|
Serious User
Joined: Aug 2009
Posts: 1,438
Spain
|
that's because you don't use GLIDE
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
|
|
|
|