Gamestudio Links
Zorro Links
Newest Posts
Trying to get started...
by Lukudo. 03/16/26 09:08
ZorroGPT
by TipmyPip. 03/08/26 18:50
zorro with ccxt?
by opm. 03/03/26 03:17
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (Miska, MislavSag, TipmyPip, Quad, 1 invisible), 5,006 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
vestriaa, Lukudo, mldenoiser, the1, alx
19203 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
path_setedge #396302
03/05/12 14:02
03/05/12 14:02
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline OP
Serious User
txesmi  Offline OP
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi,
I found that when calling path_setedge function, the modified edge looses its bidirectional property set in WED and is no longer available from the other end node through path_getedge.

Salud!

Re: path_setedge [Re: txesmi] #396375
03/06/12 09:53
03/06/12 09:53
Joined: Jul 2000
Posts: 28,086
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,086
Frankfurt
Yes - this is no bug, but a missing info in the documentation. When you set the edge length, use a negative value for a bidirectional edge. This will be added to the manual.

Re: path_setedge [Re: jcl] #396380
03/06/12 11:57
03/06/12 11:57
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline OP
Serious User
txesmi  Offline OP
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
ok, thanks for your clarification.

If path_getedge returns a negative length when it is bidirectional would be great indeed!

Salud!


Moderated by  jcl, Nems, Spirit, Tobias 

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