Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Joey, flink, AndrewAMD), 1,226 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
obstacle avoidance without using c_move #243924
01/01/09 18:50
01/01/09 18:50
Joined: Jan 2009
Posts: 57
Slovakia
wolodo87 Offline OP
Junior Member
wolodo87  Offline OP
Junior Member

Joined: Jan 2009
Posts: 57
Slovakia
hello, i have small issue.
I need towrite simple script with colision detection. The problem is that i can not use c_move. Is it possible? If i make simple block in wed, is there any way to work with that block in sed? (it is not model, just block) Is there an instruction that tells me if is any x,y point free or if is there a block or entity or any other element? I need to use a scaning ray technique for this obstacle avoidance script. Thanks for help and hope that my question is not too stupid, i am just a rookie smile

Re: obstacle avoidance without using c_move [Re: wolodo87] #243926
01/01/09 18:51
01/01/09 18:51
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
maybe c_scan can help with scanning around the player



Ubi bene, ibi Patria.
Re: obstacle avoidance without using c_move [Re: croman] #243946
01/01/09 20:46
01/01/09 20:46
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline
Member
heinekenbottle  Offline
Member

Joined: Oct 2008
Posts: 218
Nashua NH
Blocks cannot be given an action and thus they cannot be modified with a script.

c_scan won't help, it ignores blocks.

Using c_trace would be the method here.

But why can't you use c_move?

Last edited by heinekenbottle; 01/01/09 21:19.

I was once Anonymous_Alcoholic.

Code Breakpoint;
Re: obstacle avoidance without using c_move [Re: heinekenbottle] #243948
01/01/09 20:54
01/01/09 20:54
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
hehe, i wanted to say c_trace, not c_scan. damn "c_" functions



Ubi bene, ibi Patria.
Re: obstacle avoidance without using c_move [Re: wolodo87] #244055
01/02/09 11:28
01/02/09 11:28
Joined: Jan 2009
Posts: 57
Slovakia
wolodo87 Offline OP
Junior Member
wolodo87  Offline OP
Junior Member

Joined: Jan 2009
Posts: 57
Slovakia
yop, c_trace works. It is exactly what i was looking for. And then i solved the block problem with normal modifier of c_trace. Thanks much everyone for help. I dont want to use cmove because it is something like school project and i am supposed to use just direct move. Project is focused on kinematic and dynamic movement.


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