Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 636 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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