Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/25/26 16:09
Z9 getting Error 058
by jcl. 04/24/26 17:48
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Grant), 3,390 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
C-move & feet problem #374556
06/20/11 06:52
06/20/11 06:52
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline 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 ?
Code:
c_move(me,nullvector,vector(0,0,-1),IGNORE_PASSABLE);




Thanks ... laugh

Re: C-move & feet problem [Re: Mafia_IR] #374567
06/20/11 09:55
06/20/11 09:55
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Have you set the bounding box via c_setminmax?

It look like the bounding box is too big. wink

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 Offline OP
Member
Mafia_IR  Offline 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 ?

Code:
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] #374585
06/20/11 12:01
06/20/11 12:01
Joined: Aug 2010
Posts: 131
Iran
Mafia_IR Offline OP
Member
Mafia_IR  Offline OP
Member

Joined: Aug 2010
Posts: 131
Iran
it was solved when i used this line of code :
c_move(my,vector((key_w - key_s)*20*time_step,0,0.5),nullvector,IGNORE_PASSABLE);

Thanks ...

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 Offline
Serious User
painkiller  Offline
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

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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