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
1 registered members (TipmyPip), 18,619 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
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